diff options
author | Kay Sievers <kay@vrfy.org> | 2012-04-17 18:42:09 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-04-17 18:42:09 +0200 |
commit | 018ef268b1667ba0dbfc15804ab33deed6092147 (patch) | |
tree | c700a2aaab583ed1b90abb553c9bcffd142ca07e /src/detect-virt | |
parent | 80a5cbace45a6adbf2f9119edc5a4b10db493064 (diff) |
silence a bunch of gcc warnings
Diffstat (limited to 'src/detect-virt')
-rw-r--r-- | src/detect-virt/detect-virt.c | 3 |
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 |