inp_modify_exp(), cleanup #3/17, drop `new_str'

This commit is contained in:
rlar 2014-11-02 11:30:33 +01:00
parent 3d842352aa
commit 74954fbcfe
1 changed files with 3 additions and 3 deletions

View File

@ -5495,7 +5495,7 @@ inp_temper_compat(struct line *card)
static char *
inp_modify_exp(char* expr)
{
char * str_ptr, *new_str;
char * str_ptr;
char actchar;
wordlist *wl = NULL, *wlist = NULL;
char buf[512];
@ -5638,9 +5638,9 @@ inp_modify_exp(char* expr)
}
}
new_str = wl_flatten(wlist);
expr = wl_flatten(wlist);
wl_free(wlist);
return(new_str);
return expr;
}