From 91ee07814e582b292d1e06b208f62f4c40abaf64 Mon Sep 17 00:00:00 2001 From: Pierrick Charron Date: Tue, 27 Apr 2010 00:09:55 +0000 Subject: [PATCH] Remove unused variables --- ext/standard/exec.c | 2 +- ext/standard/file.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 5bca15d229..ab8daa91e5 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -62,7 +62,7 @@ PHPAPI int php_exec(int type, char *cmd, zval *array, zval *return_value TSRMLS_ FILE *fp; char *buf, *tmp=NULL; int l = 0, pclose_return; - char *b, *c, *d=NULL; + char *b, *d=NULL; php_stream *stream; size_t buflen, bufl = 0; #if PHP_SIGCHILD diff --git a/ext/standard/file.c b/ext/standard/file.c index f21f1bb5e0..71542ba7b8 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -937,7 +937,7 @@ PHP_FUNCTION(popen) int command_len, mode_len; FILE *fp; php_stream *stream; - char *posix_mode, *buf = 0; + char *posix_mode; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &command, &command_len, &mode, &mode_len) == FAILURE) { return; -- 2.40.0