inpcom.c, cleanup inp_remove_ws(), #4/5, minor

This commit is contained in:
rlar 2014-12-31 15:08:11 +01:00
parent e290e55f31
commit f1fcc943f9
1 changed files with 1 additions and 3 deletions

View File

@ -2199,13 +2199,11 @@ static char*
inp_remove_ws(char *s)
{
char *x = s;
char *big_buff;
char *big_buff = TMALLOC(char, strlen(s) + 2);
int big_buff_index = 0;
char *buffer;
bool is_expression = FALSE;
big_buff = TMALLOC(char, strlen(s) + 2);
while (*s != '\0') {
if (*s == '{')
is_expression = TRUE;