Browse Source

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

pre-master-46
rlar 12 years ago
parent
commit
74954fbcfe
  1. 6
      src/frontend/inpcom.c

6
src/frontend/inpcom.c

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

Loading…
Cancel
Save