diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-03-30 14:28:05 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-03-30 14:28:05 (GMT) |
commit | ac32ce96a35d0d15bcda45779de43345da95959f (patch) | |
tree | 8a92efc089bbddb6206a9d6115d6be8dd062de30 /java/src/jni/h5eImp.c | |
parent | 490cb6f9cd724ef28529c8c80e73e9b5cbc5df4a (diff) | |
download | hdf5-ac32ce96a35d0d15bcda45779de43345da95959f.zip hdf5-ac32ce96a35d0d15bcda45779de43345da95959f.tar.gz hdf5-ac32ce96a35d0d15bcda45779de43345da95959f.tar.bz2 |
TRILAB-192 merging warnings changes from develop
Diffstat (limited to 'java/src/jni/h5eImp.c')
-rw-r--r-- | java/src/jni/h5eImp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/jni/h5eImp.c b/java/src/jni/h5eImp.c index 7ea4223..80e23a1 100644 --- a/java/src/jni/h5eImp.c +++ b/java/src/jni/h5eImp.c @@ -523,7 +523,7 @@ H5E_walk_cb jobject cb_info_t = NULL; jvalue args[7]; JNIEnv *cbenv = NULL; - jclass cls; + jclass cbcls; void *op_data = (void *)wrapper->op_data; jint status = FAIL; @@ -532,10 +532,10 @@ H5E_walk_cb H5_JNI_FATAL_ERROR(CBENVONLY, "H5E_walk_cb: failed to attach current thread to JVM"); } - 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", "(ILhdf/hdf5lib/structs/H5E_error2_t;Lhdf/hdf5lib/callbacks/H5E_walk_t;)I"))) + if (NULL == (mid = CBENVPTR->GetMethodID(CBENVONLY, cbcls, "callback", "(ILhdf/hdf5lib/structs/H5E_error2_t;Lhdf/hdf5lib/callbacks/H5E_walk_t;)I"))) CHECK_JNI_EXCEPTION(CBENVONLY, JNI_FALSE); args[0].j = info->cls_id; |