Initialized some variables to stop compiler whining.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 27 Jul 2002 22:06:25 +0000
changeset 413 d669d303317d
parent 412 f743cf88c61f
child 414 6375f2e2a6e7
Initialized some variables to stop compiler whining.
archivers/zip.c
--- a/archivers/zip.c	Sat Jul 27 06:49:36 2002 +0000
+++ b/archivers/zip.c	Sat Jul 27 22:06:25 2002 +0000
@@ -419,13 +419,13 @@
 static PHYSFS_sint64 zip_find_end_of_central_dir(void *in, PHYSFS_sint64 *len)
 {
     PHYSFS_uint8 buf[256];
-    PHYSFS_sint32 i;
+    PHYSFS_sint32 i = 0;
     PHYSFS_sint64 filelen;
     PHYSFS_sint64 filepos;
     PHYSFS_sint32 maxread;
     PHYSFS_sint32 totalread = 0;
     int found = 0;
-    PHYSFS_uint32 extra;
+    PHYSFS_uint32 extra = 0;
 
     filelen = __PHYSFS_platformFileLength(in);
     BAIL_IF_MACRO(filelen == -1, NULL, 0);