From: Ján Tomko Date: Fri, 3 Sep 2021 19:34:23 +0000 (+0200) Subject: tests: virnetdaemontest: split variable declarations X-Git-Tag: v7.8.0-rc1~248 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b078312a690adb1726310c0c6a2f3200aeaf9e7c;p=thirdparty%2Flibvirt.git tests: virnetdaemontest: split variable declarations Signed-off-by: Ján Tomko Reviewed-by: Laine Stump --- 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 };