diff options
Diffstat (limited to 'test/gen_bad_ohdr.c')
-rw-r--r-- | test/gen_bad_ohdr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/gen_bad_ohdr.c b/test/gen_bad_ohdr.c index 452c622..d81ba8b 100644 --- a/test/gen_bad_ohdr.c +++ b/test/gen_bad_ohdr.c @@ -40,12 +40,12 @@ int main(void) { #ifdef H5O_ENABLE_BAD_MESG_COUNT - hid_t fid = -1; /* File ID */ - hid_t gid = -1; /* Group ID */ - hid_t sid = -1; /* Dataspace ID */ - hid_t aid = -1; /* Attribute ID */ - hid_t gcpl = -1; /* Group creation property list ID */ - bool store_bad_mesg_count; /* Flag for storing a bad message count */ + hid_t fid = H5I_INVALID_HID; /* File ID */ + hid_t gid = H5I_INVALID_HID; /* Group ID */ + hid_t sid = H5I_INVALID_HID; /* Dataspace ID */ + hid_t aid = H5I_INVALID_HID; /* Attribute ID */ + hid_t gcpl = H5I_INVALID_HID; /* Group creation property list ID */ + bool store_bad_mesg_count; /* Flag for storing a bad message count */ /* Create test file */ if ((fid = H5Fcreate(FILENAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT)) < 0) |