diff options
author | H. Joe Lee <hyoklee@hdfgroup.org> | 2023-09-30 00:50:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-30 00:50:04 (GMT) |
commit | 4261552068d5ffd7bd708db92aea99793a1bcf2a (patch) | |
tree | beb6ac81e7cc9a0a02e8a46c8104bf284a006340 | |
parent | 1fd82abe5868b36f0a4d5390f2651c31e83467cf (diff) | |
download | hdf5-4261552068d5ffd7bd708db92aea99793a1bcf2a.zip hdf5-4261552068d5ffd7bd708db92aea99793a1bcf2a.tar.gz hdf5-4261552068d5ffd7bd708db92aea99793a1bcf2a.tar.bz2 |
Fix Intel oneAPI icc warning (#3619)
-rw-r--r-- | test/h5test.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/h5test.c b/test/h5test.c index 862b9a3..5348e1b 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -480,8 +480,14 @@ h5_fixname_real(const char *base_name, hid_t fapl, const char *_suffix, char *fu if (H5FD_FAMILY == driver) { if (subst_for_superblock) suffix = "-000000.h5"; - else - suffix = nest_printf ? "-%%06d.h5" : "-%06d.h5"; + else { + if (nest_printf) { + suffix = "-%%06d.h5"; + } + else { + suffix = "-%06d.h5"; + } + } } else if (H5FD_MULTI == driver) { |