src/java.base/share/native/libzip/zip_util.c
branchihse-warnings-cflags-branch
changeset 56230 489867818774
parent 47216 71c04702a3d5
equal deleted inserted replaced
56229:0015bf3a82e0 56230:489867818774
   159 /*
   159 /*
   160  * Initialize zip file support. Return 0 if successful otherwise -1
   160  * Initialize zip file support. Return 0 if successful otherwise -1
   161  * if could not be initialized.
   161  * if could not be initialized.
   162  */
   162  */
   163 static jint
   163 static jint
   164 InitializeZip()
   164 InitializeZip(void)
   165 {
   165 {
   166     static jboolean inited = JNI_FALSE;
   166     static jboolean inited = JNI_FALSE;
   167 
   167 
   168     // Initialize errno to 0.  It may be set later (e.g. during memory
   168     // Initialize errno to 0.  It may be set later (e.g. during memory
   169     // allocation) but we can disregard previous values.
   169     // allocation) but we can disregard previous values.