summaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2024-03-17 02:43:47 (GMT)
committerGitHub <noreply@github.com>2024-03-17 02:43:47 (GMT)
commita56675e12ad1090eb38d4d3cd8cf08a9af3c9f7f (patch)
tree7a7c9b2e493b9050a23f925de3ae87d4bc607597 /java/src
parent68e8c0e62724b2a450e30f2becdcc9452ac0abb4 (diff)
downloadhdf5-a56675e12ad1090eb38d4d3cd8cf08a9af3c9f7f.zip
hdf5-a56675e12ad1090eb38d4d3cd8cf08a9af3c9f7f.tar.gz
hdf5-a56675e12ad1090eb38d4d3cd8cf08a9af3c9f7f.tar.bz2
Fix some minor warnings (#4165)
Diffstat (limited to 'java/src')
-rw-r--r--java/src/jni/h5pImp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/jni/h5pImp.c b/java/src/jni/h5pImp.c
index ce9989d..e38701f 100644
--- a/java/src/jni/h5pImp.c
+++ b/java/src/jni/h5pImp.c
@@ -563,8 +563,8 @@ done:
JNIEXPORT jint JNICALL
Java_hdf_hdf5lib_H5_H5Pget(JNIEnv *env, jclass clss, jlong plid, jstring name)
{
- const char *cstr = NULL;
- jint val;
+ const char *cstr = NULL;
+ jint val = -1;
herr_t status = FAIL;
UNUSED(clss);