2011-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>

* pppd/options.c: Remove unused var "ok".
This commit is contained in:
Ralf Corsepius
2011-10-18 09:04:36 +00:00
parent 7c77085658
commit 5ae9228ab9
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -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".
+1 -2
View File
@@ -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);