diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-20 19:23:48 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-12-20 19:23:48 (GMT) |
commit | 23f813026f06f3ed9aa9fea86df265950eb6770f (patch) | |
tree | 5af0d5405e3bc04425928c8023cc82a32536d4a9 /java/src/jni/h5util.c | |
parent | d7c38eeee9e6148686dc72610f244974fdd88f10 (diff) | |
download | hdf5-23f813026f06f3ed9aa9fea86df265950eb6770f.zip hdf5-23f813026f06f3ed9aa9fea86df265950eb6770f.tar.gz hdf5-23f813026f06f3ed9aa9fea86df265950eb6770f.tar.bz2 |
HDFFV-10976,-10980 Init obj_type before calling H5Rget_obj_type3
Diffstat (limited to 'java/src/jni/h5util.c')
-rw-r--r-- | java/src/jni/h5util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/jni/h5util.c b/java/src/jni/h5util.c index 5f1bccb..5c82edc 100644 --- a/java/src/jni/h5util.c +++ b/java/src/jni/h5util.c @@ -1059,7 +1059,7 @@ h5str_sprintf } if (H5Tequal(tid, H5T_STD_REF)) { - H5O_type_t obj_type; /* Object type */ + H5O_type_t obj_type = -1; /* Object type */ H5R_type_t ref_type; /* Reference type */ const H5R_ref_t *ref_vp = (H5R_ref_t *)cptr; |