Browse Source

device.c, #2/19, 'wl' will not be used any more

pre-master-46
rlar 9 years ago
parent
commit
670d87a589
  1. 3
      src/frontend/device.c

3
src/frontend/device.c

@ -1161,10 +1161,8 @@ com_alter_common(wordlist *wl, int do_model)
/* We found '=' */
eqfound = TRUE;
if (strlen(argument) == 1) {
wl = wl->wl_next;
step = -1;
wl2 = wlin;
wl = NULL;
} else if (strlen(argument) > 1) {
wl2 = NULL;
if (eqptr[1])
@ -1174,7 +1172,6 @@ com_alter_common(wordlist *wl, int do_model)
wl2 = wl_cons(copy_substring(argument, eqptr), wl2);
/* combine wordlists into wl2, free wl */
wl_splice(wl, wl2);
wl = NULL;
}
break;
}

Loading…
Cancel
Save