axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r509063 - /webservices/axis2/trunk/c/util/src/minizip/unzip.c
Date Mon, 19 Feb 2007 02:31:14 GMT
Author: samisa
Date: Sun Feb 18 18:31:14 2007
New Revision: 509063

URL: http://svn.apache.org/viewvc?view=rev&rev=509063
Log:
Fixed warnings

Modified:
    webservices/axis2/trunk/c/util/src/minizip/unzip.c

Modified: webservices/axis2/trunk/c/util/src/minizip/unzip.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/minizip/unzip.c?view=diff&rev=509063&r1=509062&r2=509063
==============================================================================
--- webservices/axis2/trunk/c/util/src/minizip/unzip.c (original)
+++ webservices/axis2/trunk/c/util/src/minizip/unzip.c Sun Feb 18 18:31:14 2007
@@ -225,8 +225,8 @@
 uLong *pX;
 {
     uLong x ;
-    int i;
-    int err;
+    int i = 0;
+    int err = 0;
 
     err = unzlocal_getByte(pzlib_filefunc_def, filestream, &i);
     x = (uLong)i;
@@ -253,8 +253,8 @@
 uLong *pX;
 {
     uLong x ;
-    int i;
-    int err;
+    int i = 0;
+    int err = 0;
 
     err = unzlocal_getByte(pzlib_filefunc_def, filestream, &i);
     x = (uLong)i;
@@ -376,7 +376,7 @@
     while (uBackRead < uMaxBack)
     {
         uLong uReadSize, uReadPos ;
-        int i;
+        int i = 0;
         if (uBackRead + BUFREADCOMMENT > uMaxBack)
             uBackRead = uMaxBack;
         else
@@ -856,7 +856,7 @@
 int iCaseSensitivity;
 {
     unz_s* s;
-    int err;
+    int err = 0;
 
     /* We remember the 'current' position in the file so that we can jump
      * back there if we fail.
@@ -952,7 +952,7 @@
 unz_file_pos* file_pos;
 {
     unz_s* s;
-    int err;
+    int err = 0;
 
     if (file == NULL || file_pos == NULL)
         return UNZ_PARAMERROR;
@@ -1203,7 +1203,7 @@
 #    ifndef NOUNCRYPT
     if (password)
     {
-        int i;
+        int i = 0;
         s->pcrc_32_tab = get_crc_table();
         init_keys(password, s->keys, s->pcrc_32_tab);
         if (ZSEEK(s->z_filefunc, s->filestream,



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message