subs, no need to save and restore subs here, EXACT

This commit is contained in:
rlar 2012-03-11 21:36:04 +01:00
parent 3725ae2575
commit aa192231f8
1 changed files with 1 additions and 5 deletions

View File

@ -533,13 +533,9 @@ doit(struct line *deck) {
return (deck);
/* Otherwise, expand sub-subcircuits recursively. */
{
struct subs *ks;
for (ks = sss = subs; sss; sss = sss->su_next) /* iterate through the list of subcircuits */
for (sss = subs; sss; sss = sss->su_next) /* iterate through the list of subcircuits */
if ((sss->su_def = doit(sss->su_def)) == NULL)
return (NULL);
subs = ks; /* ks has held pointer to start of subcircuits list. */
}
#ifdef TRACE
/* SDB debug statement */