Silence some gcc warnings
This commit is contained in:
parent
d96592aced
commit
da14c6a0f2
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user