From 194c348298d146fe5a59892de0da2d8fb461e537 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sun, 18 Apr 2004 04:16:14 +0000 Subject: [PATCH] uninitialized-20040417 ngroups was uninitialized. This produced a run-time warning even though its value was never used in subsequent calls. set to 0. --- src/ptserver/pts.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ptserver/pts.c b/src/ptserver/pts.c index ef9927ac93..443b7fad60 100644 --- a/src/ptserver/pts.c +++ b/src/ptserver/pts.c @@ -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;