summaryrefslogtreecommitdiff
path: root/src/detect-virt
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-04-17 18:42:09 +0200
committerKay Sievers <kay@vrfy.org>2012-04-17 18:42:09 +0200
commit018ef268b1667ba0dbfc15804ab33deed6092147 (patch)
treec700a2aaab583ed1b90abb553c9bcffd142ca07e /src/detect-virt
parent80a5cbace45a6adbf2f9119edc5a4b10db493064 (diff)
silence a bunch of gcc warnings
Diffstat (limited to 'src/detect-virt')
-rw-r--r--src/detect-virt/detect-virt.c3
1 files changed, 2 insertions, 1 deletions
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