fixed uninitialized variable
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 8 Mar 2004 01:22:14 +0000 (01:22 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 8 Mar 2004 01:22:14 +0000 (01:22 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1156 94cd875c-1c1d-0410-91d2-eb244daf1a30

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));                                        \