summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr_sparse_reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/vfd_swmr_sparse_reader.c')
-rw-r--r--test/vfd_swmr_sparse_reader.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/vfd_swmr_sparse_reader.c b/test/vfd_swmr_sparse_reader.c
index fc62e4f..64f0d35 100644
--- a/test/vfd_swmr_sparse_reader.c
+++ b/test/vfd_swmr_sparse_reader.c
@@ -186,15 +186,15 @@ static int
read_records(const char *filename, unsigned verbose, unsigned long nrecords,
unsigned poll_time, unsigned reopen_count)
{
- hid_t fid; /* File ID */
- hid_t aid; /* Attribute ID */
+ hid_t fid = H5I_INVALID_HID;
+ hid_t aid = H5I_INVALID_HID;
time_t start_time; /* Starting time */
- hid_t mem_sid; /* Memory dataspace ID */
+ hid_t mem_sid = H5I_INVALID_HID;
symbol_t record; /* The record to add to the dataset */
unsigned seed; /* Seed for random number generator */
unsigned iter_to_reopen = reopen_count; /* # of iterations until reopen */
unsigned long u; /* Local index variable */
- hid_t fapl;
+ hid_t fapl = H5I_INVALID_HID;
H5F_vfd_swmr_config_t *config = NULL; /* Configuration for VFD SWMR */
HDassert(filename);