[libvirt PATCH 01/24] tests: virnetdaemontest: split variable declarations

Ján Tomko jtomko at redhat.com
Sat Sep 4 20:43:59 UTC 2021


Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 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 };
-- 
2.31.1




More information about the libvir-list mailing list