mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
TRILAB-192 fix JNI shadow warning
This commit is contained in:
parent
1505fa1498
commit
0d6adfc610
@ -9,9 +9,4 @@
|
||||
# is not a supported compiler, so let us promote shadowed globals
|
||||
# warnings to errors only for GCC 5 and later.
|
||||
#
|
||||
#
|
||||
#
|
||||
# NOTE: JNI files are not compatible with these warnings as errors
|
||||
# jni/h5aImp.c,jni/h5eImp.c,jni/h5lImp.c,jni/h5oImp.c
|
||||
# -Werror=shadow
|
||||
-Wshadow
|
||||
-Werror=shadow
|
||||
|
@ -2167,7 +2167,6 @@ H5A_iterate_cb
|
||||
jobject visit_callback = wrapper->visit_callback;
|
||||
jstring str;
|
||||
JNIEnv *cbenv = NULL;
|
||||
jclass cls;
|
||||
jvalue args[4];
|
||||
void *op_data = (void *)wrapper->op_data;
|
||||
jint status = -1;
|
||||
|
@ -523,7 +523,6 @@ H5E_walk_cb
|
||||
jobject cb_info_t = NULL;
|
||||
jvalue args[7];
|
||||
JNIEnv *cbenv = NULL;
|
||||
jclass cls;
|
||||
void *op_data = (void *)wrapper->op_data;
|
||||
jint status = FAIL;
|
||||
|
||||
|
@ -672,7 +672,6 @@ H5L_iterate_cb
|
||||
jobject visit_callback = wrapper->visit_callback;
|
||||
jstring str;
|
||||
JNIEnv *cbenv = NULL;
|
||||
jclass cls;
|
||||
jvalue args[5];
|
||||
void *op_data = (void *)wrapper->op_data;
|
||||
jint status = -1;
|
||||
|
@ -548,7 +548,6 @@ H5O_iterate_cb
|
||||
jobject token;
|
||||
jstring str;
|
||||
JNIEnv *cbenv = NULL;
|
||||
jclass cls;
|
||||
jvalue args[12];
|
||||
void *op_data = (void *)wrapper->op_data;
|
||||
jint status = FAIL;
|
||||
|
Loading…
Reference in New Issue
Block a user