[libvirt PATCH 1/4] tests: bhyve: split variable declarations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



One variable per line.

Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 tests/bhyvexml2argvtest.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/tests/bhyvexml2argvtest.c b/tests/bhyvexml2argvtest.c
index 9e7eb218b8..f7ae1db26d 100644
--- a/tests/bhyvexml2argvtest.c
+++ b/tests/bhyvexml2argvtest.c
@@ -26,9 +26,12 @@ static int testCompareXMLToArgvFiles(const char *xml,
                                      const char *dmcmdline,
                                      unsigned int flags)
 {
-    char *actualargv = NULL, *actualld = NULL, *actualdm = NULL;
+    char *actualargv = NULL;
+    char *actualld = NULL;
+    char *actualdm = NULL;
     virDomainDefPtr vmdef = NULL;
-    virCommandPtr cmd = NULL, ldcmd = NULL;
+    virCommandPtr cmd = NULL;
+    virCommandPtr ldcmd = NULL;
     virConnectPtr conn;
     int ret = -1;
 
@@ -117,7 +120,9 @@ testCompareXMLToArgvHelper(const void *data)
     int ret = -1;
     const struct testInfo *info = data;
     char *xml = NULL;
-    char *args = NULL, *ldargs = NULL, *dmargs = NULL;
+    char *args = NULL;
+    char *ldargs = NULL;
+    char *dmargs = NULL;
 
     xml = g_strdup_printf("%s/bhyvexml2argvdata/bhyvexml2argv-%s.xml",
                           abs_srcdir, info->name);
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux