From 0081ec9b518a29a7e58343e27ef9d83d795fc4a4 Mon Sep 17 00:00:00 2001 From: rlar Date: Wed, 31 Dec 2014 15:01:35 +0100 Subject: [PATCH] inpcom.c, cleanup inp_remove_ws(), #2/5, highlight `s' beeing almost unused --- src/frontend/inpcom.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 9f69aa153..23b3c4228 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -2196,16 +2196,16 @@ inp_fix_subckt(struct names *subckt_w_params, char *s) static char* -inp_remove_ws(char * const s) +inp_remove_ws(char * const s_) { - char *x = s; + char *x = s_; char *big_buff; int big_buff_index = 0; char *buffer, *curr; bool is_expression = FALSE; - big_buff = TMALLOC(char, strlen(s) + 2); - curr = s; + big_buff = TMALLOC(char, strlen(s_) + 2); + curr = s_; while (*curr != '\0') { if (*curr == '{')