svn: /php/php-src/trunk/ext/phar/ stream.c
| From: | Xinchen Hui | Date: | Sun, 07 Aug 2011 05:24:11 +0000 |
| Subject: | svn: /php/php-src/trunk/ext/phar/ stream.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-65735@lists.php.net to get a copy of this message | ||
laruence Sun, 07 Aug 2011 05:24:11 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=314401
Log:
Initialize temp with 0, avoiding compile warning
Changed paths:
U php/php-src/trunk/ext/phar/stream.c
Modified: php/php-src/trunk/ext/phar/stream.c
===================================================================
--- php/php-src/trunk/ext/phar/stream.c 2011-08-07 05:20:49 UTC (rev 314400)
+++ php/php-src/trunk/ext/phar/stream.c 2011-08-07 05:24:11 UTC (rev 314401)
@@ -403,7 +403,7 @@
phar_entry_data *data = (phar_entry_data *)stream->abstract;
phar_entry_info *entry;
int res;
- off_t temp;
+ off_t temp = 0;
if (data->internal_file->link) {
entry = phar_get_link_source(data->internal_file TSRMLS_CC);