diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-06-20 09:23:34 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-06-20 09:23:34 +0000 |
commit | 0cc7e6236a897cb09a78b61a21d2c16ad423f4ce (patch) | |
tree | 5e4a456e8744414404150e1766ba329cca2e005a | |
parent | 2a41ec6c6304a5101cf3ee898335fee7efc76b22 (diff) | |
download | busybox-w32-0cc7e6236a897cb09a78b61a21d2c16ad423f4ce.tar.gz busybox-w32-0cc7e6236a897cb09a78b61a21d2c16ad423f4ce.tar.bz2 busybox-w32-0cc7e6236a897cb09a78b61a21d2c16ad423f4ce.zip |
Fix a couple vars that could be used uninitialized
-rw-r--r-- | networking/ifconfig.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c index 37cba235a..63d88bc2c 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * Foundation; either version 2 of the License, or (at | 15 | * Foundation; either version 2 of the License, or (at |
16 | * your option) any later version. | 16 | * your option) any later version. |
17 | * | 17 | * |
18 | * $Id: ifconfig.c,v 1.24 2003/05/26 14:06:01 bug1 Exp $ | 18 | * $Id: ifconfig.c,v 1.25 2003/06/20 09:23:34 andersen Exp $ |
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | 21 | ||
@@ -306,6 +306,8 @@ int ifconfig_main(int argc, char **argv) | |||
306 | 306 | ||
307 | goterr = 0; | 307 | goterr = 0; |
308 | did_flags = 0; | 308 | did_flags = 0; |
309 | sai_hostname = 0; | ||
310 | sai_netmask = 0; | ||
309 | 311 | ||
310 | /* skip argv[0] */ | 312 | /* skip argv[0] */ |
311 | ++argv; | 313 | ++argv; |