OSDN Git Service

tests/unit: simpler variable sequence for test-io-channel
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 3 Nov 2022 10:23:29 +0000 (10:23 +0000)
committerLaurent Vivier <laurent@vivier.eu>
Sat, 5 Nov 2022 19:35:45 +0000 (20:35 +0100)
commit5a820d5d07cb101752c731799a326648a5aa185a
tree7a0fdaca34ca4cc915a4c1c4a5776381c4fb386a
parent5d756c82c9eb288f9e19bbc711c99e6b6bda9f0c
tests/unit: simpler variable sequence for test-io-channel

This avoids some compilers complaining about a potentially
un-initialised [src|dst]argv. In retrospect using GString was overkill
for what we are constructing.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221103102329.2581508-1-alex.bennee@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
tests/unit/test-io-channel-command.c