diff --git a/src/frontend/subckt.c b/src/frontend/subckt.c index 85dd42097..3e3d4c0e5 100644 --- a/src/frontend/subckt.c +++ b/src/frontend/subckt.c @@ -1016,8 +1016,7 @@ translate(struct line *deck, char *formal, char *actual, char *scname, const cha case '*': case '$': case '.': - /* Just a pointer to the line into s and then break */ - break; + continue; #ifdef XSPICE /*=================== case A ====================*/ @@ -1085,9 +1084,6 @@ translate(struct line *deck, char *formal, char *actual, char *scname, const cha bxx_printf(&buffer, "%s", name); tfree(name); } - /* Set s to null string for compatibility with code */ - /* after switch statement */ - s = ""; break; /* case 'a' */ /* gtri - end - wbk - 10/23/90 */ @@ -1211,7 +1207,6 @@ translate(struct line *deck, char *formal, char *actual, char *scname, const cha /* Now write out remainder of line (polynomial coeffs) */ finishLine(&buffer, s, scname); - s = ""; break; @@ -1271,11 +1266,10 @@ translate(struct line *deck, char *formal, char *actual, char *scname, const cha * i(something)... */ finishLine(&buffer, s, scname); - s = ""; + break; } /* switch (c->li_line . . . . */ - bxx_printf(&buffer, "%s", s); tfree(c->li_line); c->li_line = copy(bxx_buffer(&buffer));