inpcom.c, inp_chk_for_multi_in_vcvs(), drop 'a_card', reuse the unused 'c' instead
This commit is contained in:
parent
e6c0ddf238
commit
fb4722ffca
|
|
@ -1352,10 +1352,9 @@ inp_chk_for_multi_in_vcvs(struct line *c, int *line_number)
|
||||||
|
|
||||||
*c->li_line = '*';
|
*c->li_line = '*';
|
||||||
next_card = c->li_next;
|
next_card = c->li_next;
|
||||||
a_card = xx_new_line(NULL, m_instance, (*line_number)++, 0);
|
c = c->li_next = xx_new_line(NULL, m_instance, (*line_number)++, 0);
|
||||||
c->li_next = a_card;
|
|
||||||
model_card = xx_new_line(next_card, m_model, (*line_number)++, 0);
|
model_card = xx_new_line(next_card, m_model, (*line_number)++, 0);
|
||||||
a_card->li_next = model_card;
|
c->li_next = model_card;
|
||||||
// skip these two new cards
|
// skip these two new cards
|
||||||
c = model_card;
|
c = model_card;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue