From a921b5444e376affca76b93a2e25a07ce5411779 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 19 Oct 2013 14:51:36 +0200 Subject: [PATCH] inpcom.c: patch provided by Simon Chang: correct function name substitution #2 --- src/frontend/inpcom.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index ab8f793a1..4bb95aa25 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -6292,9 +6292,8 @@ inp_fix_temper_in_param(struct line *deck) for (; card; card = card->li_next) { char *new_str = NULL; /* string we assemble here */ - char *curr_str;/* where we are in curr_line */ char *curr_line = card->li_line; - char * new_tmp_str, *tmp_str, *beg_str; + char * new_tmp_str, *tmp_str; /* Some new variables... */ char *chp; char *chp_start; @@ -6333,8 +6332,6 @@ inp_fix_temper_in_param(struct line *deck) if (sub_count[subckt_depth] != new_func->subckt_count) continue; - beg_str = curr_str = curr_line; - /* This is the new code - it finds each variable name and checks it against new_func->funcname */ for (state = 0, var_name = chp_start = chp = curr_line; *chp; chp++) { switch(state)