summaryrefslogtreecommitdiffhomepage
path: root/id.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-28 19:05:20 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-28 19:05:20 +0000
commit9cf306d55e36bf783e46b080f15112f0cc509549 (patch)
treeb290715cadffffb32aa290e9866a44c666cd54e8 /id.c
parent6a4c33c5c0e5d01c1280a0d77439cd9843eee55a (diff)
Fix for a potential uninitialized variable, thx to
Ken Chalmers <chalmers@norscan.com> -Erik
Diffstat (limited to 'id.c')
-rw-r--r--id.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/id.c b/id.c
index ce5db52f0..a1a17924c 100644
--- a/id.c
+++ b/id.c
@@ -37,6 +37,7 @@ extern int id_main(int argc, char **argv)
int opt;
cp = user = group = NULL;
+ gid = 0;
while ((opt = getopt(argc, argv, "ugr")) > 0) {
switch (opt) {