From 1d5ba8bb21a1eefbaaf8f02625d00f37fb4b5b90 Mon Sep 17 00:00:00 2001 From: Arnaud Le Blanc Date: Tue, 21 Oct 2008 23:39:15 +0000 Subject: MFH: initialize optional vars --- ext/bz2/bz2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/bz2') diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c index d051b19dbf..e69e311951 100644 --- a/ext/bz2/bz2.c +++ b/ext/bz2/bz2.c @@ -482,8 +482,8 @@ static PHP_FUNCTION(bzerror) static PHP_FUNCTION(bzcompress) { char *source; /* Source data to compress */ - long zblock_size; /* Optional block size to use */ - long zwork_factor; /* Optional work factor to use */ + long zblock_size = 0; /* Optional block size to use */ + long zwork_factor = 0;/* Optional work factor to use */ char *dest = NULL; /* Destination to place the compressed data into */ int error, /* Error Container */ block_size = 4, /* Block size for compression algorithm */ -- cgit v1.2.1