From 85236c08e67288260711be42ca9e1f506e326a1b Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 5 Mar 2017 16:54:25 +0100 Subject: [PATCH] inp2m.c, #14/15b, cleanup, drop empty blocks --- src/spicelib/parser/inp2m.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/spicelib/parser/inp2m.c b/src/spicelib/parser/inp2m.c index f97031c12..b06c9993f 100644 --- a/src/spicelib/parser/inp2m.c +++ b/src/spicelib/parser/inp2m.c @@ -157,17 +157,12 @@ INP2M(CKTcircuit *ckt, INPtables *tab, card *current) if (!thismodel && nodeflag < 5) INPgetModBin(ckt, nname[nodeflag], &thismodel, tab, line); - if (thismodel) { - } - else { + if (!thismodel) { nodeflag = 4; /* now reset to a 4 node device */ line = save; /* reset the posn to what it sould be */ } - } else { } - } else { } - } else { } if (!valid_numnodes(nodeflag, thismodel, current))