device.c, #4/19, loop wont be executed, and 'step' wont be used any more

This commit is contained in:
rlar 2017-06-08 09:17:10 +02:00
parent 3baaa57d18
commit 3f09ab6634
1 changed files with 0 additions and 4 deletions

View File

@ -1161,11 +1161,7 @@ com_alter_common(wordlist *wl, int do_model)
/* We found '=' */
eqfound = TRUE;
if (strlen(argument) == 1) {
step = -1;
wl2 = wlin;
/* step back in the wordlist, if we have moved forward, to catch 'm1' */
for (i = step; i > 0; i--)
wl2 = wl2->wl_prev;
} else if (strlen(argument) > 1) {
wl2 = NULL;
if (eqptr[1])