diff options
-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); |