com php-src: - Removed unused var: phpdbg_cmd.c

From: Date: Tue, 19 Nov 2013 22:09:19 +0000
Subject: com php-src: - Removed unused var: phpdbg_cmd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-74785@lists.php.net to get a copy of this message
Commit: bc278c7013af4d3533629d1f825eecc75948702b Author: Felipe Pena <felipensp@gmail.com> Tue, 19 Nov 2013 20:09:19 -0200 Parents: 3709ea995c0563fdc7dd77f75185acc677a36cc5 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bc278c7013af4d3533629d1f825eecc75948702b Log: - Removed unused var Changed paths: M phpdbg_cmd.c Diff: diff --git a/phpdbg_cmd.c b/phpdbg_cmd.c index 6e03d5b..db7774d 100644 --- a/phpdbg_cmd.c +++ b/phpdbg_cmd.c @@ -212,7 +212,6 @@ phpdbg_input_t *phpdbg_read_input(TSRMLS_D) /* {{{ */ { if (!(PHPDBG_G(flags) & PHPDBG_IS_QUITTING)) { phpdbg_input_t *buffer = NULL; - size_t cmd_len = 0L; #ifndef HAVE_LIBREADLINE char *cmd = NULL; @@ -318,9 +317,9 @@ int phpdbg_do_cmd_ex(const phpdbg_command_t *command, phpdbg_input_t *input TSRM (command->alias && (input->argv[0]->length == 1) && (command->alias == *input->argv[0]->string))) { - + phpdbg_param_t param; - + param.type = EMPTY_PARAM; if (input->argc > 1) { @@ -331,18 +330,18 @@ int phpdbg_do_cmd_ex(const phpdbg_command_t *command, phpdbg_input_t *input TSRM sub.argv = &input->argv[1]; phpdbg_debug( - "trying sub commands in \"%s\" for \"%s\" with %d arguments", + "trying sub commands in \"%s\" for \"%s\" with %d arguments", command->name, sub.argv[0]->string, sub..argc-1); - + return phpdbg_do_cmd_ex(command->subs, &sub TSRMLS_CC); } else { phpdbg_parse_param( input->argv[1]->string, input->argv[1]->length, &param TSRMLS_CC); - } + } } - + phpdbg_debug( "found command %s for %s with %d arguments", command->name, input->argv[0]->string, input->argc-1); @@ -356,12 +355,12 @@ int phpdbg_do_cmd_ex(const phpdbg_command_t *command, phpdbg_input_t *input TSRM input->argv[arg]->length); } } - + PHPDBG_G(lcmd) = (phpdbg_command_t*) command; phpdbg_clear_param( &PHPDBG_G(lparam) TSRMLS_CC); PHPDBG_G(lparam) = param; - + rc = command->handler(&param TSRMLS_CC); break; }

« previous php.cvs (#74785) next »