subckt.c, devmodtranslate(), dupplicate code from above
and drop a redundant piece
This commit is contained in:
parent
c653161666
commit
db213fd8d2
|
|
@ -1921,10 +1921,10 @@ devmodtranslate(struct line *s, char *subname, wordlist * const orig_modnames)
|
||||||
bxx_printf(&buffer, "%s ", name);
|
bxx_printf(&buffer, "%s ", name);
|
||||||
tfree(name);
|
tfree(name);
|
||||||
name = gettok(&t);
|
name = gettok(&t);
|
||||||
wlsub = wl_find(name, orig_modnames);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
wlsub = wl_find(name, orig_modnames);
|
||||||
if (!wlsub) /* Fallback w/o subckt name before */
|
if (!wlsub) /* Fallback w/o subckt name before */
|
||||||
bxx_printf(&buffer, "%s", name);
|
bxx_printf(&buffer, "%s", name);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue