svn: /php/php-src/trunk/ext/standard/ exec.c file.c
| From: | Pierrick Charron | Date: | Tue, 27 Apr 2010 00:09:55 +0000 |
| Subject: | svn: /php/php-src/trunk/ext/standard/ exec.c file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-62424@lists.php.net to get a copy of this message | ||
pierrick Tue, 27 Apr 2010 00:09:55 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=298630
Log:
Remove unused variables
Changed paths:
U php/php-src/trunk/ext/standard/exec.c
U php/php-src/trunk/ext/standard/file.c
Modified: php/php-src/trunk/ext/standard/exec.c
===================================================================
--- php/php-src/trunk/ext/standard/exec.c 2010-04-26 23:56:09 UTC (rev 298629)
+++ php/php-src/trunk/ext/standard/exec.c 2010-04-27 00:09:55 UTC (rev 298630)
@@ -62,7 +62,7 @@
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
Modified: php/php-src/trunk/ext/standard/file.c
===================================================================
--- php/php-src/trunk/ext/standard/file.c 2010-04-26 23:56:09 UTC (rev 298629)
+++ php/php-src/trunk/ext/standard/file.c 2010-04-27 00:09:55 UTC (rev 298630)
@@ -937,7 +937,7 @@
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;