diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-28 23:05:20 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-28 23:05:20 +0400 |
commit | 9cf306d55e36bf783e46b080f15112f0cc509549 (patch) | |
tree | b290715cadffffb32aa290e9866a44c666cd54e8 /coreutils | |
parent | 6a4c33c5c0e5d01c1280a0d77439cd9843eee55a (diff) |
Fix for a potential uninitialized variable, thx to
Ken Chalmers <chalmers@norscan.com>
-Erik
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/id.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/id.c b/coreutils/id.c index ce5db52f0..a1a17924c 100644 --- a/coreutils/id.c +++ b/coreutils/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) { |