From: Radoslaw Jablonski Date: Thu, 17 May 2018 10:51:57 +0000 (+0100) Subject: virt_test: Code cleanup X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=5b5e681e329ec063228b65200f28bda412f91cf9;p=collectd.git virt_test: Code cleanup Removed unnecessary '0'-initialization from static global variables Change-Id: Iaf1060dfd8be5e4a81a1e7bcec5cd5a88c0e1516 Signed-off-by: Radoslaw Jablonski --- diff --git a/src/virt_test.c b/src/virt_test.c index 12cebe5d..458facaf 100644 --- a/src/virt_test.c +++ b/src/virt_test.c @@ -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) {