From 3f09ab6634f6077eb10385c653bdc9eb192b5464 Mon Sep 17 00:00:00 2001 From: rlar Date: Thu, 8 Jun 2017 09:17:10 +0200 Subject: [PATCH] device.c, #4/19, loop wont be executed, and 'step' wont be used any more --- src/frontend/device.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/frontend/device.c b/src/frontend/device.c index a5b933356..b6e975af3 100644 --- a/src/frontend/device.c +++ b/src/frontend/device.c @@ -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])