diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-06 19:55:34 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-12-06 19:55:34 (GMT) |
commit | fce2a31dc5f44f821dd4587f530ef18ce9e424de (patch) | |
tree | f1ef237f3f447ebe0c4b1b69e9eee63e68e1aa0d /java/src/jni/h5rImp.c | |
parent | 52c9749d6f6f1d6704fc78373e83bcb8c1abac1e (diff) | |
download | hdf5-fce2a31dc5f44f821dd4587f530ef18ce9e424de.zip hdf5-fce2a31dc5f44f821dd4587f530ef18ce9e424de.tar.gz hdf5-fce2a31dc5f44f821dd4587f530ef18ce9e424de.tar.bz2 |
Address compile warnings
Diffstat (limited to 'java/src/jni/h5rImp.c')
-rw-r--r-- | java/src/jni/h5rImp.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/java/src/jni/h5rImp.c b/java/src/jni/h5rImp.c index 3f1fd96..4ad5d5f 100644 --- a/java/src/jni/h5rImp.c +++ b/java/src/jni/h5rImp.c @@ -39,7 +39,6 @@ Java_hdf_hdf5lib_H5_H5Rcreate_1object (JNIEnv *env, jclass clss, jlong loc_id, jstring name, jlong aid) { const char *refName = NULL; - jboolean isCopy; jbyteArray ref = NULL; jbyte *refBuf = NULL; herr_t status = FAIL; @@ -83,7 +82,6 @@ Java_hdf_hdf5lib_H5_H5Rcreate_1region (JNIEnv *env, jclass clss, jlong loc_id, jstring name, jlong space_id, jlong aid) { const char *refName = NULL; - jboolean isCopy; jbyteArray ref = NULL; jbyte *refBuf = NULL; herr_t status = FAIL; @@ -127,7 +125,6 @@ Java_hdf_hdf5lib_H5_H5Rcreate_1attr { const char *refName = NULL; const char *attrName = NULL; - jboolean isCopy; jbyteArray ref = NULL; jbyte *refBuf = NULL; herr_t status = FAIL; @@ -212,7 +209,7 @@ Java_hdf_hdf5lib_H5_H5Rget_1type jboolean isCopy; jbyte *refBuf = NULL; jsize refBufLen; - H5R_type_t ref_type; + H5R_type_t ref_type = -1; UNUSED(clss); @@ -493,7 +490,7 @@ Java_hdf_hdf5lib_H5_H5Rget_1file_1name jbyte *refBuf = NULL; jstring str = NULL; ssize_t buf_size; - ssize_t check_size; + ssize_t check_size = -1; char *namePtr = NULL; UNUSED(clss); @@ -539,7 +536,7 @@ Java_hdf_hdf5lib_H5_H5Rget_1obj_1name jbyte *refBuf = NULL; jstring str = NULL; ssize_t buf_size; - ssize_t check_size; + ssize_t check_size = -1; char *namePtr = NULL; UNUSED(clss); @@ -585,7 +582,7 @@ Java_hdf_hdf5lib_H5_H5Rget_1attr_1name jbyte *refBuf = NULL; jstring str = NULL; ssize_t buf_size; - ssize_t check_size; + ssize_t check_size = -1; char *namePtr = NULL; UNUSED(clss); |