diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-04-17 07:46:46 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:35:18 (GMT) |
commit | 071fe1dc3979932b12f23cb7cc5a61f860367cf2 (patch) | |
tree | c57275224465c026cbfb9319eb09f3e2bcb452b1 | |
parent | 58dfaafcceabeb054b90034838294d9a1ae339ac (diff) | |
download | hdf5-071fe1dc3979932b12f23cb7cc5a61f860367cf2.zip hdf5-071fe1dc3979932b12f23cb7cc5a61f860367cf2.tar.gz hdf5-071fe1dc3979932b12f23cb7cc5a61f860367cf2.tar.bz2 |
Fixed some minor cmp callback bugs and cleaned warnings.
-rw-r--r-- | src/H5FDros3.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/H5FDros3.c b/src/H5FDros3.c index 75fcfd7..d99272c 100644 --- a/src/H5FDros3.c +++ b/src/H5FDros3.c @@ -325,7 +325,9 @@ hid_t H5FD_ros3_init(void) { hid_t ret_value = H5I_INVALID_HID; +#if ROS3_STATS unsigned int bin_i; +#endif FUNC_ENTER_NOAPI(FAIL) @@ -1347,7 +1349,7 @@ H5FD_ros3_cmp( } /* FAPL: AWS_REGION */ - if (f1->fa.aws_region[0] != '\0' && f1->fa.aws_region[0] != '\0') { + if (f1->fa.aws_region[0] != '\0' && f2->fa.aws_region[0] != '\0') { if (HDstrcmp(f1->fa.aws_region, f2->fa.aws_region)) { HGOTO_DONE(-1); } @@ -1362,7 +1364,7 @@ H5FD_ros3_cmp( } /* FAPL: SECRET_ID */ - if (f1->fa.secret_id[0] != '\0' && f1->fa.secret_id[0] != '\0') { + if (f1->fa.secret_id[0] != '\0' && f2->fa.secret_id[0] != '\0') { if (HDstrcmp(f1->fa.secret_id, f2->fa.secret_id)) { HGOTO_DONE(-1); } @@ -1377,7 +1379,7 @@ H5FD_ros3_cmp( } /* FAPL: SECRET_KEY */ - if (f1->fa.secret_key[0] != '\0' && f1->fa.secret_key[0] != '\0') { + if (f1->fa.secret_key[0] != '\0' && f2->fa.secret_key[0] != '\0') { if (HDstrcmp(f1->fa.secret_key, f2->fa.secret_key)) { HGOTO_DONE(-1); } |