OESS-168: Remove clang warnings. (#1280)

This commit is contained in:
H. Joe Lee 2021-12-13 17:33:49 -06:00 committed by GitHub
parent 63687f1a12
commit 10450e0491
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}