]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: virnetdaemontest: split variable declarations
authorJán Tomko <jtomko@redhat.com>
Fri, 3 Sep 2021 19:34:23 +0000 (21:34 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 9 Sep 2021 16:06:12 +0000 (18:06 +0200)
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
tests/virnetdaemontest.c

index ce0384f02691172c587c97fc669e8bc0351d4aef..f764268c501047e82aa8435ae5a8b50bee9f815a 100644 (file)
@@ -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 };