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 /cpukit/pppd | |
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".
Diffstat (limited to 'cpukit/pppd')
-rw-r--r-- | cpukit/pppd/options.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |