diff options
author | H. Joe Lee <hyoklee@hdfgroup.org> | 2021-11-13 23:08:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-13 23:08:48 (GMT) |
commit | 899636e4042ec7603516523a13995967a53d9543 (patch) | |
tree | 4fa29024c0bb4b78b76f86c45c58d0a4eeda7244 /test/swmr.c | |
parent | 70910573e0cdc7f6647f54046f23a0885176a4a7 (diff) | |
download | hdf5-899636e4042ec7603516523a13995967a53d9543.zip hdf5-899636e4042ec7603516523a13995967a53d9543.tar.gz hdf5-899636e4042ec7603516523a13995967a53d9543.tar.bz2 |
1.12 TRILAB-266: Remove clang warnings. (#1193)
* TRILAB-266: Remove clang warnings in src/H5Zscaleoffset.c. (PR #1105)
* Committing clang-format changes
* TRILAB-266: Remove clang warnings in H5private.h and uthash.h. (PR #1124)
* TRILAB-266: Remove clang warnings in H5FDcore.c. (PR #1127)
* Committing clang-format changes
* TRILAB-266: Remove clang warnings in test/testmeta.c. (PR #1135)
* TRILAB-266: Remove clang warnings in test/swmr.c. (PR #1136)
* TRILAB-266: Remove clang warnings in test/cork.c. (PR #1137)
* Committing clang-format changes
* TRILAB-266: Remove clang warnings in test/cork.c. (PR #1146)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/swmr.c')
-rw-r--r-- | test/swmr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/swmr.c b/test/swmr.c index 24a0b7c..9091fe2 100644 --- a/test/swmr.c +++ b/test/swmr.c @@ -5220,7 +5220,7 @@ test_file_lock_swmr_concur(hid_t H5_ATTR_UNUSED in_fapl) static int test_file_lock_swmr_concur(hid_t in_fapl) { - hid_t fid; /* File ID */ + hid_t fid = H5I_INVALID_HID; /* File ID */ hid_t fapl; /* File access property list */ char filename[NAME_BUF_SIZE]; /* file name */ pid_t childpid = 0; /* Child process ID */ @@ -6721,7 +6721,7 @@ test_refresh_concur(hid_t H5_ATTR_UNUSED in_fapl, hbool_t new_format) static int test_refresh_concur(hid_t in_fapl, hbool_t new_format) { - hid_t fid; /* File ID */ + hid_t fid = H5I_INVALID_HID; /* File ID */ hid_t fapl; /* File access property list */ pid_t childpid = 0; /* Child process ID */ pid_t tmppid; /* Child process ID returned by waitpid */ |