com php-src: Unused variable: ext/standard/exec.c

From: Date: Tue, 26 Aug 2014 03:50:42 +0000
Subject: com php-src: Unused variable: ext/standard/exec.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-81107@lists.php.net to get a copy of this message
Commit: a3fd5b69544c6cee72fda95e816c758782df02c1 Author: Xinchen Hui <laruence@php.net> Tue, 26 Aug 2014 11:50:42 +0800 Parents: 0a712e1913164e13ec99025815fcb75ea9d72350 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a3fd5b69544c6cee72fda95e816c758782df02c1 Log: Unused variable Changed paths: M ext/standard/exec.c Diff: diff --git a/ext/standard/exec.c b/ext/standard/exec.c index fe0443d..bd5b2a9 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -400,7 +400,6 @@ PHP_FUNCTION(escapeshellcmd) { char *command; int command_len; - char *cmd = NULL; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &command, &command_len) == FAILURE) { return; @@ -420,7 +419,6 @@ PHP_FUNCTION(escapeshellarg) { char *argument; int argument_len; - char *cmd = NULL; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &argument, &argument_len) == FAILURE) { return;

« previous php.cvs (#81107) next »