virt_test: Code cleanup
authorRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Thu, 17 May 2018 10:51:57 +0000 (11:51 +0100)
committerRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Fri, 18 May 2018 08:22:10 +0000 (09:22 +0100)
Removed unnecessary '0'-initialization from static global
variables

Change-Id: Iaf1060dfd8be5e4a81a1e7bcec5cd5a88c0e1516
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
src/virt_test.c

index 12cebe5..458faca 100644 (file)
@@ -25,8 +25,8 @@
 #include "testing.h"
 #include "virt.c" /* sic */
 
-static virDomainPtr *domains = NULL;
-static int nr_domains = 0;
+static virDomainPtr *domains;
+static int nr_domains;
 
 static int setup(void) {
   if (virInitialize() != 0) {