Silence some gcc warnings

This commit is contained in:
brian 2001-07-03 22:20:06 +00:00
parent d96592aced
commit da14c6a0f2

View File

@ -1717,6 +1717,8 @@ SetVariable(struct cmdargs const *arg)
break;
case VAR_MRU:
long_val = 0; /* silence gcc */
change = NULL; /* silence gcc */
switch(arg->argc - arg->argn) {
case 1:
if (argp[strspn(argp, "0123456789")] != '\0') {
@ -1772,6 +1774,8 @@ SetVariable(struct cmdargs const *arg)
break;
case VAR_MTU:
long_val = 0; /* silence gcc */
change = NULL; /* silence gcc */
switch(arg->argc - arg->argn) {
case 1:
if (argp[strspn(argp, "0123456789")] != '\0') {