Re: [PATCH] tests/unit: simpler variable sequence for test-io-channel

2022-11-03 Thread Laurent Vivier
Le 03/11/2022 à 12:32, Alex Bennée a écrit : Laurent Vivier writes: Le 03/11/2022 à 11:23, Alex Bennée a écrit : 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

Re: [PATCH] tests/unit: simpler variable sequence for test-io-channel

2022-11-03 Thread Alex Bennée
Laurent Vivier writes: > Le 03/11/2022 à 11:23, Alex Bennée a écrit : >> 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 >> --- >> tests/unit/te

Re: [PATCH] tests/unit: simpler variable sequence for test-io-channel

2022-11-03 Thread Laurent Vivier
Le 03/11/2022 à 11:23, Alex Bennée a écrit : 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 --- tests/unit/test-io-channel-command.c | 14 --

Re: [PATCH] tests/unit: simpler variable sequence for test-io-channel

2022-11-03 Thread Philippe Mathieu-Daudé
On 3/11/22 11:23, Alex Bennée wrote: 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 --- tests/unit/test-io-channel-command.c | 14 -- 1 file