summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/getopt_ulflags.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/getopt_ulflags.c b/libbb/getopt_ulflags.c
index 81d22c3..cca0743 100644
--- a/libbb/getopt_ulflags.c
+++ b/libbb/getopt_ulflags.c
@@ -88,6 +88,8 @@ bb_getopt_ulflags (int argc, char **argv, const char *applet_opts, ...)
t_complementaly *on_off;
va_list p;
+ memset(&complementaly, 0, sizeof(complementaly));
+
va_start (p, applet_opts);
/* skip GNU extension */