From b68bca464fa8b16d1498cc5e2c5862ad85b1cc5a Mon Sep 17 00:00:00 2001 From: h_vogt Date: Thu, 30 May 2013 21:15:44 +0200 Subject: [PATCH] subckt.c: MOS model in subckt w/o L, W --- src/frontend/subckt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/subckt.c b/src/frontend/subckt.c index 032c93e30..1b4dfd5f9 100644 --- a/src/frontend/subckt.c +++ b/src/frontend/subckt.c @@ -1968,7 +1968,7 @@ devmodtranslate(struct line *deck, char *subname, wordlist * const submod) name = gettok(&t); found = 0; - while (*t && !found) { + while (!found) { /* Now, is this a subcircuit model? */ for (wlsub = submod; wlsub; wlsub = wlsub->wl_next) { /* FIXME, probably too unspecific */