From 91658bc85633e45339cc488b021bf1b6c179e68c Mon Sep 17 00:00:00 2001 From: rlar Date: Wed, 31 Dec 2014 15:59:28 +0100 Subject: [PATCH] inpcom.c, cleanup inp_remove_ws(), #1/4, thats inevitably true --- src/frontend/inpcom.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index f6402acd7..e41e2f14a 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -2224,8 +2224,7 @@ inp_remove_ws(char *s) *d++ = *s; } - if (*s != '\0') - s++; + s++; if (isspace(*s)) { s = skip_ws(s); if (!(*s == '\0' || *s == '=' || (is_expression && (is_arith_char(*s) || *s == ','))))