Browse Source

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

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

12
src/frontend/device.c

@ -1176,12 +1176,14 @@ com_alter_common(wordlist *wl, int do_model)
wl_splice(wl, wl2); wl_splice(wl, wl2);
wl = NULL; wl = NULL;
} }
} else {
/* deal with 'altermod m1 vth0=0.7' by moving
forward beyond 'm1' */
wl = wl->wl_next;
step++;
break;
} }
/* deal with 'altermod m1 vth0=0.7' by moving
* forward beyond 'm1'
*/
wl = wl->wl_next;
step++;
} }
if (eqfound) { if (eqfound) {

Loading…
Cancel
Save