fixed uninitialized variable
[util-vserver.git] / util-vserver / lib / testsuite / flags.c
index 2ce1115..b3e0604 100644 (file)
@@ -55,7 +55,7 @@
     struct vc_err_listparser   err;                                    \
     char                       buf[] = STR;                            \
     volatile int               res;                                    \
-    struct vc_ctx_flags                flags;                                  \
+    struct vc_ctx_flags                flags = {0,0};                          \
     res = vc_list2flag(buf, LEN, &err, &flags);                                \
     assert(res==(EXP_RES));                                            \
     assert(flags.flagword==(EXP_FLAG));                                        \