uninitialized-20040417

ngroups was uninitialized.  This produced a run-time warning even
though its value was never used in subsequent calls.  set to 0.
This commit is contained in:
Jeffrey Altman 2004-04-18 04:16:14 +00:00 committed by Jeffrey Altman
parent 733af496e8
commit 194c348298

View File

@ -872,6 +872,8 @@ SetFields(as)
mask = 0;
nusers = 0;
ngroups = 0;
if (as->parms[1].items) { /* privacy bits */
char *access = as->parms[1].items->data;
int new;