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);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to