diff options
author | Xinchen Hui <laruence@php.net> | 2014-08-26 11:50:42 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2014-08-26 11:50:42 +0800 |
commit | a3fd5b69544c6cee72fda95e816c758782df02c1 (patch) | |
tree | fa1ac2a89edaff7c1f6312b6591aab16a931a76b | |
parent | 0a712e1913164e13ec99025815fcb75ea9d72350 (diff) | |
download | php-git-a3fd5b69544c6cee72fda95e816c758782df02c1.tar.gz |
Unused variable
-rw-r--r-- | ext/standard/exec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c index fe0443d59c..bd5b2a9f6d 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; |