com php-src: Shut up, compiler!: phpdbg_cmd.c

From: Date: Sat, 23 Nov 2013 19:50:25 +0000
Subject: com php-src: Shut up, compiler!: phpdbg_cmd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-74675@lists.php.net to get a copy of this message
Commit: a5fb0ae10e8d46c0cfc520791040c9a2e58e6435 Author: Bob Weinand <bobwei9@hotmail.com> Sat, 23 Nov 2013 20:50:25 +0100 Parents: 603df4a48f72bd4d18e3112c06a2dd959e465529 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a5fb0ae10e8d46c0cfc520791040c9a2e58e6435 Log: Shut up, compiler! Changed paths: M phpdbg_cmd.c Diff: diff --git a/phpdbg_cmd.c b/phpdbg_cmd.c index bcfd893..45c6a77 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) {

« previous php.cvs (#74675) next »