From 0cee0467e2dc5e6a25a32c7e8a4274dc2751eb26 Mon Sep 17 00:00:00 2001 From: rlar Date: Thu, 8 Mar 2012 19:50:38 +0100 Subject: [PATCH] doit, shrink scope of `t' --- src/frontend/subckt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/subckt.c b/src/frontend/subckt.c index 342c52c12..2978d0082 100644 --- a/src/frontend/subckt.c +++ b/src/frontend/subckt.c @@ -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;