device.c, #1/19, can 'break' here, because 'wl' is NULL
This commit is contained in:
parent
761f3915f5
commit
1eca384a94
|
|
@ -1176,12 +1176,14 @@ com_alter_common(wordlist *wl, int do_model)
|
|||
wl_splice(wl, wl2);
|
||||
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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue