summaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@koziol.gov>2019-07-10 03:17:22 (GMT)
committerQuincey Koziol <koziol@koziol.gov>2019-07-10 03:17:22 (GMT)
commit73df02f13c2b1e0b256cdbff1c7c584e84548df4 (patch)
tree43f503fea615b405e03863e1befc1c91bd9f65ef /java/src
parentdb7c43d375f6997dfc44d6153e7b015da571a8c9 (diff)
parentc33f2cbf18b4cc0aafedfe2d1cc29ed7730c91f6 (diff)
downloadhdf5-73df02f13c2b1e0b256cdbff1c7c584e84548df4.zip
hdf5-73df02f13c2b1e0b256cdbff1c7c584e84548df4.tar.gz
hdf5-73df02f13c2b1e0b256cdbff1c7c584e84548df4.tar.bz2
Merge branch 'develop' into feature/update_gcc_flags
Diffstat (limited to 'java/src')
-rw-r--r--java/src/jni/h5lImp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/jni/h5lImp.c b/java/src/jni/h5lImp.c
index 7413023..7eee3d4 100644
--- a/java/src/jni/h5lImp.c
+++ b/java/src/jni/h5lImp.c
@@ -508,11 +508,11 @@ Java_hdf_hdf5lib_H5_H5Lget_1value_1by_1idx
UNUSED(clss);
+ infobuf.type = H5L_TYPE_ERROR;
+
if (NULL == name)
H5_NULL_ARGUMENT_ERROR(ENVONLY, "H5Lget_val_by_idx: group name is NULL");
- infobuf.type = H5L_TYPE_ERROR;
-
PIN_JAVA_STRING(ENVONLY, name, grpName, NULL, "H5Lget_val_by_idx: group name not pinned");
/* Get the length of the link value */