tests: Clean up initialization of Error *err variables
commit53cb2fc859bef4116bb5e8ef9a80ca6c05963d6f
authorMarkus Armbruster <armbru@redhat.com>
Wed, 4 Dec 2019 09:36:11 +0000 (4 10:36 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 18 Dec 2019 07:36:15 +0000 (18 08:36 +0100)
treea73ad09ba05c162f5983805b0b8bbe9de28d3ac0
parente4eb089c62fa7b1e758a895aec7682b4bed6a360
tests: Clean up initialization of Error *err variables

Declaring a local Error *err without initializer looks suspicious.
Fuse the declaration with the initialization to avoid that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191204093625.14836-5-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
tests/test-qobject-output-visitor.c
tests/test-string-output-visitor.c