Browse Source

inpcom.c, cleanup `inp_reorder_params()', use NULL instead of `end'

pre-master-46
rlar 11 years ago
parent
commit
2e2f4fc69c
  1. 7
      src/frontend/inpcom.c

7
src/frontend/inpcom.c

@ -3878,11 +3878,6 @@ inp_reorder_params(struct names *subckt_w_params, struct line *list_head)
struct line *prev_card = list_head;
struct line *c = prev_card->li_next;
struct line *end;
for (end = list_head; end->li_next; end = end->li_next)
;
/* move .param lines to beginning of deck */
while (c != NULL) {
@ -3924,7 +3919,7 @@ inp_reorder_params(struct names *subckt_w_params, struct line *list_head)
c = c->li_next;
}
inp_sort_params(first_param_card, list_head, list_head->li_next, end);
inp_sort_params(first_param_card, list_head, list_head->li_next, NULL);
}

Loading…
Cancel
Save