doit, shrink scope of `t'

This commit is contained in:
rlar 2012-03-08 19:50:38 +01:00
parent 79ad78d28c
commit 0cee0467e2
1 changed files with 2 additions and 2 deletions

View File

@ -398,7 +398,7 @@ static struct line *
doit(struct line *deck) {
struct line *c, *lcc;
struct subs *sssfree = NULL, *sss = NULL; /* *sss temporarily hold decks to substitute */
char *s, *t;
char *s;
int nest, numpasses = MAXNEST;
bool gotone;
wordlist *tmodnames = modnames;
@ -547,7 +547,7 @@ doit(struct line *deck) {
for (c = deck, lc = NULL; c; ) {
if (ciprefix(invoke, c->li_line)) { /* found reference to .subckt (i.e. component with refdes X) */
char *tofree, *tofree2;
char *tofree, *tofree2, *t;
char *scname, *subname;
gotone = TRUE;