summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorH. Joe Lee <hyoklee@hdfgroup.org>2021-12-13 23:33:49 (GMT)
committerGitHub <noreply@github.com>2021-12-13 23:33:49 (GMT)
commit10450e0491f97d33f2a07076d9346f6fee1c603c (patch)
tree83d882cc608b100e2f92cdff34c9c110a86f402d /testpar
parent63687f1a12738c88e119be59902f13f2098a1c68 (diff)
downloadhdf5-10450e0491f97d33f2a07076d9346f6fee1c603c.zip
hdf5-10450e0491f97d33f2a07076d9346f6fee1c603c.tar.gz
hdf5-10450e0491f97d33f2a07076d9346f6fee1c603c.tar.bz2
OESS-168: Remove clang warnings. (#1280)
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_dset.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/testpar/t_dset.c b/testpar/t_dset.c
index 40268a8..9f922e3 100644
--- a/testpar/t_dset.c
+++ b/testpar/t_dset.c
@@ -2905,12 +2905,12 @@ none_selection_chunk(void)
static void
test_actual_io_mode(int selection_mode)
{
- H5D_mpio_actual_chunk_opt_mode_t actual_chunk_opt_mode_write = -1;
- H5D_mpio_actual_chunk_opt_mode_t actual_chunk_opt_mode_read = -1;
- H5D_mpio_actual_chunk_opt_mode_t actual_chunk_opt_mode_expected = -1;
- H5D_mpio_actual_io_mode_t actual_io_mode_write = -1;
- H5D_mpio_actual_io_mode_t actual_io_mode_read = -1;
- H5D_mpio_actual_io_mode_t actual_io_mode_expected = -1;
+ H5D_mpio_actual_chunk_opt_mode_t actual_chunk_opt_mode_write = H5D_MPIO_NO_CHUNK_OPTIMIZATION;
+ H5D_mpio_actual_chunk_opt_mode_t actual_chunk_opt_mode_read = H5D_MPIO_NO_CHUNK_OPTIMIZATION;
+ H5D_mpio_actual_chunk_opt_mode_t actual_chunk_opt_mode_expected = H5D_MPIO_NO_CHUNK_OPTIMIZATION;
+ H5D_mpio_actual_io_mode_t actual_io_mode_write = H5D_MPIO_NO_COLLECTIVE;
+ H5D_mpio_actual_io_mode_t actual_io_mode_read = H5D_MPIO_NO_COLLECTIVE;
+ H5D_mpio_actual_io_mode_t actual_io_mode_expected = H5D_MPIO_NO_COLLECTIVE;
const char * filename;
const char * test_name;
hbool_t direct_multi_chunk_io;
@@ -3163,8 +3163,8 @@ test_actual_io_mode(int selection_mode)
default:
test_name = "Undefined Selection Mode";
- actual_chunk_opt_mode_expected = -1;
- actual_io_mode_expected = -1;
+ actual_chunk_opt_mode_expected = H5D_MPIO_NO_CHUNK_OPTIMIZATION;
+ actual_io_mode_expected = H5D_MPIO_NO_COLLECTIVE;
break;
}