Browse Source

device.c, #1/19, can 'break' here, because 'wl' is NULL

pre-master-46
rlar 9 years ago
parent
commit
1eca384a94
  1. 8
      src/frontend/device.c

8
src/frontend/device.c

@ -1176,13 +1176,15 @@ com_alter_common(wordlist *wl, int do_model)
wl_splice(wl, wl2);
wl = NULL;
}
} else {
break;
}
/* deal with 'altermod m1 vth0=0.7' by moving
forward beyond 'm1' */
* forward beyond 'm1'
*/
wl = wl->wl_next;
step++;
}
}
if (eqfound) {
/* step back in the wordlist, if we have moved forward, to catch 'm1' */

Loading…
Cancel
Save