From ad0cfd9865b8318a760d0ce018642f4b218d0438 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sun, 7 Aug 2011 05:24:11 +0000 Subject: [PATCH] Initialize temp with 0, avoiding compile warning --- ext/phar/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/phar/stream.c b/ext/phar/stream.c index f9bf3f3e01e..2addae4db5b 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);