inpcom.c, cleanup inp_remove_ws(), #2/5, highlight `s' beeing almost unused

This commit is contained in:
rlar 2014-12-31 15:01:35 +01:00
parent 179d55547c
commit 0081ec9b51
1 changed files with 4 additions and 4 deletions

View File

@ -2196,16 +2196,16 @@ inp_fix_subckt(struct names *subckt_w_params, char *s)
static char* static char*
inp_remove_ws(char * const s) inp_remove_ws(char * const s_)
{ {
char *x = s; char *x = s_;
char *big_buff; char *big_buff;
int big_buff_index = 0; int big_buff_index = 0;
char *buffer, *curr; char *buffer, *curr;
bool is_expression = FALSE; bool is_expression = FALSE;
big_buff = TMALLOC(char, strlen(s) + 2); big_buff = TMALLOC(char, strlen(s_) + 2);
curr = s; curr = s_;
while (*curr != '\0') { while (*curr != '\0') {
if (*curr == '{') if (*curr == '{')