inpcom.c, inp_chk_for_multi_in_vcvs(), drop 'model_card', and finish off the other two too

This commit is contained in:
rlar 2017-04-21 20:58:11 +02:00
parent 8d2f63107d
commit 5cd88a3fc5
1 changed files with 1 additions and 5 deletions

View File

@ -1242,7 +1242,6 @@ inp_chk_for_multi_in_vcvs(struct line *c, int *line_number)
(fcn_b = strstr(line, "or(")) != NULL) &&
isspace_c(fcn_b[-1]))
{
struct line *a_card, *model_card, *next_card;
char keep, *comma_ptr, *xy_values1[5], *xy_values2[5];
char *out_str, *ctrl_nodes_str, *xy_values1_b, *ref_str, *fcn_name, *fcn_e, *out_b, *out_e, *ref_e;
char *m_instance, *m_model;
@ -1352,10 +1351,7 @@ inp_chk_for_multi_in_vcvs(struct line *c, int *line_number)
*c->li_line = '*';
c = c->li_next = xx_new_line(c->li_next, m_instance, (*line_number)++, 0);
model_card = xx_new_line(c->li_next, m_model, (*line_number)++, 0);
c->li_next = model_card;
// skip these two new cards
c = model_card;
c = c->li_next = xx_new_line(c->li_next, m_model, (*line_number)++, 0);
}
}
}