From: Bob Weinand Date: Sat, 23 Nov 2013 19:50:25 +0000 (+0100) Subject: Shut up, compiler! X-Git-Tag: php-5.6.0alpha1~110^2~118^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5fb0ae10e8d46c0cfc520791040c9a2e58e6435;p=php Shut up, compiler! --- diff --git a/phpdbg_cmd.c b/phpdbg_cmd.c index bcfd8939ad..45c6a770ad 100644 --- a/phpdbg_cmd.c +++ b/phpdbg_cmd.c @@ -164,7 +164,7 @@ PHPDBG_API phpdbg_input_t **phpdbg_read_argv(char *buffer, int *argc TSRMLS_DC) continue; case IN_STRING: - if ((c == '"')) { + if (c == '"') { if (buffer[(p - buffer)-1] == '\\') { b[l-1]=c; continue; @@ -195,6 +195,9 @@ PHPDBG_API phpdbg_input_t **phpdbg_read_argv(char *buffer, int *argc TSRMLS_DC) "Malformed command line (unclosed quote) @ %d: %s!", (p - buffer)-1, &buffer[(p - buffer)-1]); break; + + case IN_BETWEEN: + break; } if ((*argc) == 0) {