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

* OESS-168: Remove clang warnings.

* OESS-168: Address @byrnHDF and @derobinson review.
This commit is contained in:
H. Joe Lee 2021-11-05 08:06:54 -05:00 committed by GitHub
parent 57c6fbfdd7
commit b3f35a97a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 */