diff options
author | Eric Andersen | 2000-07-28 19:05:20 +0000 |
---|---|---|
committer | Eric Andersen | 2000-07-28 19:05:20 +0000 |
commit | 9cf306d55e36bf783e46b080f15112f0cc509549 (patch) | |
tree | b290715cadffffb32aa290e9866a44c666cd54e8 /coreutils | |
parent | 6a4c33c5c0e5d01c1280a0d77439cd9843eee55a (diff) | |
download | busybox-9cf306d55e36bf783e46b080f15112f0cc509549.zip busybox-9cf306d55e36bf783e46b080f15112f0cc509549.tar.gz |
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 ce5db52..a1a1792 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) { |