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

[libvirt] [PATCH] bhyve: fix build in tests



Commit ca32929 caused build errors in bhyvexml2argvtest.c because of
some undefined variables.

Pushing under the build breaker rule.
---
 tests/bhyvexml2argvtest.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tests/bhyvexml2argvtest.c b/tests/bhyvexml2argvtest.c
index 1cce2aa..1c7bc31 100644
--- a/tests/bhyvexml2argvtest.c
+++ b/tests/bhyvexml2argvtest.c
@@ -19,7 +19,6 @@ static int testCompareXMLToArgvFiles(const char *xml,
                                      const char *ldcmdline,
                                      const char *dmcmdline)
 {
-    int len;
     char *actualargv = NULL, *actualld = NULL, *actualdm = NULL;
     virDomainDefPtr vmdef = NULL;
     virDomainObj vm;
@@ -59,9 +58,6 @@ static int testCompareXMLToArgvFiles(const char *xml,
     if (virtTestCompareToFile(actualld, ldcmdline) < 0)
         goto out;
 
-    if (virtTestCompareToFile(formatted, xml) < 0)
-        goto out;
-
     if (virFileExists(dmcmdline) || actualdm) {
         if (virtTestCompareToFile(actualdm, dmcmdline) < 0)
             goto out;
-- 
2.3.5


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