--- a/biounzip.c
+++ b/biounzip.c
@@ -127,7 +127,7 @@
 void writefile(bzfile *ptr, FILE *fp, char *destdir)
 {
   int startpos,returnval,n,debug=0;
-  unsigned long size_uncompressed,size_compressed;
+  unsigned long size_uncompressed = 0, size_compressed = 0;
   char *fname,*dirname,*fullname,*fullpath;
   unsigned char *srcbuffer,*dstbuffer;
   FILE *outfile;
