summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-09 20:26:18 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-09 20:26:18 +0000
commit05af0dfe1c54611869284de661fdd71c8251c2c0 (patch)
tree8677d61856e77f71837982f8c2efe5576eec2569
parent0a86639b9db58bd71a47ce71a7b2330539d362a3 (diff)
(diskfs_S_dir_lookup): Initialize GIDS, NUIDS, and NGIDS to avoid
warning.
-rw-r--r--libdiskfs/dir-lookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c
index a9d3133e..cc9ce52c 100644
--- a/libdiskfs/dir-lookup.c
+++ b/libdiskfs/dir-lookup.c
@@ -176,8 +176,8 @@ diskfs_S_dir_lookup (struct protid *dircred,
&& np != dnp)
{
mach_port_t control;
- uid_t *uids = 0, *gids;
- int nuids, ngids;
+ uid_t *uids = 0, *gids = 0;
+ int nuids = 0, ngids = 0;
file_t dirfile = MACH_PORT_NULL;
/* Be very careful not to hold an inode lock while fetching