diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-03-30 18:10:36 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-03-30 18:10:36 (GMT) |
commit | 944cbb940009119de7ccae8a42734b38d03ea2c7 (patch) | |
tree | b9d49b1c9264e988c533a53c3052abf4d292faf5 /java/src/jni/h5lImp.c | |
parent | 4c14a0e3db852b6f1e9811a7396d85cc81c85ea8 (diff) | |
download | hdf5-944cbb940009119de7ccae8a42734b38d03ea2c7.zip hdf5-944cbb940009119de7ccae8a42734b38d03ea2c7.tar.gz hdf5-944cbb940009119de7ccae8a42734b38d03ea2c7.tar.bz2 |
TRILAB-192 merging warnings changes from develop
Diffstat (limited to 'java/src/jni/h5lImp.c')
-rw-r--r-- | java/src/jni/h5lImp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/jni/h5lImp.c b/java/src/jni/h5lImp.c index 6b55b46..984fd90 100644 --- a/java/src/jni/h5lImp.c +++ b/java/src/jni/h5lImp.c @@ -625,7 +625,7 @@ H5L_iterate_cb jobject visit_callback = wrapper->visit_callback; jstring str; JNIEnv *cbenv = NULL; - jclass cls; + jclass cbcls; jvalue args[5]; void *op_data = (void *)wrapper->op_data; jint status = -1; @@ -636,10 +636,10 @@ H5L_iterate_cb } /* Get the Method ID for the "callback" function of the H5L_iterate_t class */ - if (NULL == (cls = CBENVPTR->GetObjectClass(CBENVONLY, visit_callback))) + if (NULL == (cbcls = CBENVPTR->GetObjectClass(CBENVONLY, visit_callback))) CHECK_JNI_EXCEPTION(CBENVONLY, JNI_FALSE); - if (NULL == (mid = CBENVPTR->GetMethodID(CBENVONLY, cls, "callback", "(JLjava/lang/String;Lhdf/hdf5lib/structs/H5L_info_t;Lhdf/hdf5lib/callbacks/H5L_iterate_t;)I"))) + if (NULL == (mid = CBENVPTR->GetMethodID(CBENVONLY, cbcls, "callback", "(JLjava/lang/String;Lhdf/hdf5lib/structs/H5L_info_t;Lhdf/hdf5lib/callbacks/H5L_iterate_opdata_t;)I"))) CHECK_JNI_EXCEPTION(CBENVONLY, JNI_FALSE); if (NULL == (str = CBENVPTR->NewStringUTF(CBENVONLY, name))) |