From a3fd5b69544c6cee72fda95e816c758782df02c1 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Tue, 26 Aug 2014 11:50:42 +0800 Subject: [PATCH] Unused variable --- ext/standard/exec.c | 2 -- 1 file changed, 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; -- 2.50.1