From fb4722ffca26a1484c2d3872d587c63d9e1665c3 Mon Sep 17 00:00:00 2001 From: rlar Date: Thu, 20 Apr 2017 17:42:45 +0200 Subject: [PATCH] inpcom.c, inp_chk_for_multi_in_vcvs(), drop 'a_card', reuse the unused 'c' instead --- src/frontend/inpcom.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 179b85fd3..395c4ce7c 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -1352,10 +1352,9 @@ inp_chk_for_multi_in_vcvs(struct line *c, int *line_number) *c->li_line = '*'; next_card = c->li_next; - a_card = xx_new_line(NULL, m_instance, (*line_number)++, 0); - c->li_next = a_card; + c = c->li_next = xx_new_line(NULL, m_instance, (*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 c = model_card; }