subckt.c, doit(), rename `savenext' --> `rest_of_c'

This commit is contained in:
rlar 2014-07-18 18:04:06 +02:00
parent 05d239b748
commit 6b959952a3
1 changed files with 2 additions and 2 deletions

View File

@ -618,7 +618,7 @@ doit(struct line *deck, wordlist *modnames) {
/* Now splice the decks together. */
{
struct line *savenext = c->li_next;
struct line *rest_of_c = c->li_next;
if (use_numparams == FALSE) {
/* old style: c will drop a dangling pointer: memory leak */
if (prev_of_c)
@ -633,7 +633,7 @@ doit(struct line *deck, wordlist *modnames) {
c = su_deck;
while (c->li_next)
c = c->li_next;
c->li_next = savenext;
c->li_next = rest_of_c;
}
tfree(tofree);
tfree(tofree2);