diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-18 09:04:36 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-18 09:04:36 +0000 |
commit | 5ae9228ab96ea4d8e48eba96b34052b6650e1403 (patch) | |
tree | de3b0ef2b26a44c54ed0dd1ecc7c0ad9c0551b6a | |
parent | 2011-10-18 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-5ae9228ab96ea4d8e48eba96b34052b6650e1403.tar.bz2 |
2011-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/options.c: Remove unused var "ok".
-rw-r--r-- | cpukit/ChangeLog | 1 | ||||
-rw-r--r-- | cpukit/pppd/options.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 83ef6cf26a..0b4f4facde 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,6 @@ 2011-10-18 Ralf Corsépius <ralf.corsepius@rtems.org> + * pppd/options.c: Remove unused var "ok". * libnetworking/rtems/rtems_dhcp.c: Remove unused var "disconnected". diff --git a/cpukit/pppd/options.c b/cpukit/pppd/options.c index 9b010e3b37..8a39266474 100644 --- a/cpukit/pppd/options.c +++ b/cpukit/pppd/options.c @@ -1416,7 +1416,7 @@ setnetmask( char **argv) { uint32_t mask, b; - int n, ok; + int n; char *p, *endp; /* @@ -1424,7 +1424,6 @@ setnetmask( * a result of all 1s is an error or a valid 255.255.255.255. */ p = *argv; - ok = 0; mask = 0; for (n = 3;; --n) { b = strtoul(p, &endp, 0); |