Explorar o código

Pacify compiler warning.

Ryan C. Gordon %!s(int64=9) %!d(string=hai) anos
pai
achega
e4c035a99f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/archiver_zip.c

+ 1 - 1
src/archiver_zip.c

@@ -1587,7 +1587,7 @@ static void ZIP_closeArchive(void *opaque);
 static void *ZIP_openArchive(PHYSFS_Io *io, const char *name, int forWriting)
 {
     ZIPinfo *info = NULL;
-    PHYSFS_uint64 dstart;  /* data start */
+    PHYSFS_uint64 dstart = 0;  /* data start */
     PHYSFS_uint64 cdir_ofs;  /* central dir offset */
     PHYSFS_uint64 entry_count;