mirror of
https://git.busybox.net/busybox
synced 2026-02-07 20:50:26 +00:00
Fix for a potential uninitialized variable, thx to
Ken Chalmers <chalmers@norscan.com> -Erik
This commit is contained in:
parent
6a4c33c5c0
commit
9cf306d55e
2 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
1
id.c
1
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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue