From: Enrico Scholz Date: Mon, 8 Mar 2004 01:22:14 +0000 (+0000) Subject: fixed uninitialized variable X-Git-Tag: VERSION_0_10~417 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96448e268dbe81573fd4afc6fccbdd63f0bc6580;p=util-vserver.git fixed uninitialized variable git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1156 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib/testsuite/flags.c b/util-vserver/lib/testsuite/flags.c index 2ce1115..b3e0604 100644 --- a/util-vserver/lib/testsuite/flags.c +++ b/util-vserver/lib/testsuite/flags.c @@ -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)); \