mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
OESS-168: Remove clang warnings. (#1305)
This commit is contained in:
parent
a564ec39af
commit
58e2157c7e
@ -225,9 +225,11 @@ H5FD_mirror_init(void)
|
|||||||
|
|
||||||
LOG_OP_CALL(__func__);
|
LOG_OP_CALL(__func__);
|
||||||
|
|
||||||
if (H5I_VFL != H5I_get_type(H5FD_MIRROR_g))
|
if (H5I_VFL != H5I_get_type(H5FD_MIRROR_g)) {
|
||||||
H5FD_MIRROR_g = H5FD_register(&H5FD_mirror_g, sizeof(H5FD_class_t), FALSE);
|
H5FD_MIRROR_g = H5FD_register(&H5FD_mirror_g, sizeof(H5FD_class_t), FALSE);
|
||||||
|
if (H5I_INVALID_HID == H5FD_MIRROR_g)
|
||||||
|
HGOTO_ERROR(H5E_ID, H5E_CANTREGISTER, H5I_INVALID_HID, "unable to register mirror");
|
||||||
|
}
|
||||||
ret_value = H5FD_MIRROR_g;
|
ret_value = H5FD_MIRROR_g;
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
Loading…
Reference in New Issue
Block a user