From 018ef268b1667ba0dbfc15804ab33deed6092147 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 17 Apr 2012 18:42:09 +0200 Subject: silence a bunch of gcc warnings --- src/detect-virt/detect-virt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/detect-virt') diff --git a/src/detect-virt/detect-virt.c b/src/detect-virt/detect-virt.c index a83fb3ced5..8b8fc45ea0 100644 --- a/src/detect-virt/detect-virt.c +++ b/src/detect-virt/detect-virt.c @@ -115,7 +115,8 @@ static int parse_argv(int argc, char *argv[]) { int main(int argc, char *argv[]) { const char *id = NULL; - int retval, r; + int r; + int retval = EXIT_SUCCESS; /* This is mostly intended to be used for scripts which want * to detect whether we are being run in a virtualized -- cgit v1.2.3-54-g00ecf