From b078312a690adb1726310c0c6a2f3200aeaf9e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Fri, 3 Sep 2021 21:34:23 +0200 Subject: [PATCH] tests: virnetdaemontest: split variable declarations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ján Tomko Reviewed-by: Laine Stump --- tests/virnetdaemontest.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/virnetdaemontest.c b/tests/virnetdaemontest.c index ce0384f026..f764268c50 100644 --- a/tests/virnetdaemontest.c +++ b/tests/virnetdaemontest.c @@ -270,8 +270,10 @@ static int testExecRestart(const void *opaque) int ret = -1; virNetDaemon *dmn = NULL; const struct testExecRestartData *data = opaque; - char *infile = NULL, *outfile = NULL; - char *injsonstr = NULL, *outjsonstr = NULL; + char *infile = NULL; + char *outfile = NULL; + char *injsonstr = NULL; + char *outjsonstr = NULL; virJSONValue *injson = NULL; virJSONValue *outjson = NULL; int fdclient[2] = { -1, -1 }, fdserver[2] = { -1, -1 };