From: Xinchen Hui Date: Sun, 7 Aug 2011 05:24:11 +0000 (+0000) Subject: Initialize temp with 0, avoiding compile warning X-Git-Tag: php-5.5.0alpha1~1623 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad0cfd9865b8318a760d0ce018642f4b218d0438;p=php Initialize temp with 0, avoiding compile warning --- diff --git a/ext/phar/stream.c b/ext/phar/stream.c index f9bf3f3e01..2addae4db5 100644 --- a/ext/phar/stream.c +++ b/ext/phar/stream.c @@ -403,7 +403,7 @@ static int phar_stream_seek(php_stream *stream, off_t offset, int whence, off_t 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);