diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-08-12 18:38:04 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-08-12 18:38:04 (GMT) |
commit | 4f0283db788fc1a0db94e7825567210021b3b594 (patch) | |
tree | eab3ec595784d2e3812234fe456069bd874df8f4 /test | |
parent | ed51c0e302e1d422dcdd730448a8e9e06326985a (diff) | |
download | hdf5-4f0283db788fc1a0db94e7825567210021b3b594.zip hdf5-4f0283db788fc1a0db94e7825567210021b3b594.tar.gz hdf5-4f0283db788fc1a0db94e7825567210021b3b594.tar.bz2 |
Fixes a size mismatch when copying old-style to new-style references
Diffstat (limited to 'test')
-rw-r--r-- | test/trefer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/trefer.c b/test/trefer.c index 8ce75e9..4bf5c17 100644 --- a/test/trefer.c +++ b/test/trefer.c @@ -2720,10 +2720,10 @@ test_reference_compat_conv(void) hsize_t count[SPACE2_RANK]; /* Element count of hyperslab */ hsize_t block[SPACE2_RANK]; /* Block size of hyperslab */ hsize_t coord1[POINT1_NPOINTS][SPACE2_RANK]; /* Coordinates for point selection */ - hobj_ref_t *wbuf_obj; /* Buffer to write to disk */ - H5R_ref_t *rbuf_obj; /* Buffer read from disk */ - hdset_reg_ref_t *wbuf_reg; /* Buffer to write to disk */ - H5R_ref_t *rbuf_reg; /* Buffer read from disk */ + hobj_ref_t *wbuf_obj = NULL; /* Buffer to write to disk */ + H5R_ref_t *rbuf_obj = NULL; /* Buffer read from disk */ + hdset_reg_ref_t *wbuf_reg = NULL; /* Buffer to write to disk */ + H5R_ref_t *rbuf_reg = NULL; /* Buffer read from disk */ H5O_type_t obj_type; /* Object type */ herr_t ret; /* Generic return value */ unsigned int i; /* Counter */ |