Re: [PATCH v2 04/18] tests: Clean up initialization of Error *err variables

2019-12-04 Thread Philippe Mathieu-Daudé
On 12/4/19 10:36 AM, Markus Armbruster wrote: Declaring a local Error *err without initializer looks suspicious. Fuse the declaration with the initialization to avoid that. Signed-off-by: Markus Armbruster --- tests/test-qobject-output-visitor.c | 8

Re: [PATCH v2 04/18] tests: Clean up initialization of Error *err variables

2019-12-04 Thread Eric Blake
On 12/4/19 3:36 AM, Markus Armbruster wrote: Declaring a local Error *err without initializer looks suspicious. Fuse the declaration with the initialization to avoid that. Signed-off-by: Markus Armbruster --- tests/test-qobject-output-visitor.c | 8

[PATCH v2 04/18] tests: Clean up initialization of Error *err variables

2019-12-04 Thread Markus Armbruster
Declaring a local Error *err without initializer looks suspicious. Fuse the declaration with the initialization to avoid that. Signed-off-by: Markus Armbruster --- tests/test-qobject-output-visitor.c | 8 tests/test-string-output-visitor.c | 4 ++-- 2 files changed, 6 insertions(+), 6