diff options
author | kmu <kmu@hdfgroup.org> | 2020-01-13 19:20:19 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2020-01-13 19:20:19 (GMT) |
commit | 9712fad601a7844dc01deb1dc4d81b5aa5402b5e (patch) | |
tree | a5020737164f843254a67695e4cae4586f568c3e /tools/test/h5diff | |
parent | b0e5b2d9338bf352a4154a838c4146c84be8705b (diff) | |
download | hdf5-9712fad601a7844dc01deb1dc4d81b5aa5402b5e.zip hdf5-9712fad601a7844dc01deb1dc4d81b5aa5402b5e.tar.gz hdf5-9712fad601a7844dc01deb1dc4d81b5aa5402b5e.tar.bz2 |
fix unused related warnings
Diffstat (limited to 'tools/test/h5diff')
-rw-r--r-- | tools/test/h5diff/h5diffgentest.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/test/h5diff/h5diffgentest.c b/tools/test/h5diff/h5diffgentest.c index c711013..95f98fd 100644 --- a/tools/test/h5diff/h5diffgentest.c +++ b/tools/test/h5diff/h5diffgentest.c @@ -4227,7 +4227,7 @@ static void test_comps_array(const char *fname, const char *dset, const char *at hsize_t sdims_dset[] = { SDIM_DSET }; hsize_t sdims_cmpd_arry[] = { SDIM_CMPD_ARRAY }; int i, j; - herr_t ret; /* Generic return value */ + herr_t H5_ATTR_SANITY_CHECK ret; /* Generic return value */ /* Initialize array data to write */ for (i = 0; i < SDIM_DSET; i++) { @@ -4336,7 +4336,7 @@ static void test_comps_vlen(const char * fname, const char *dset, const char *at hsize_t sdims_dset[] = { SDIM_DSET }; unsigned i, j; /* counting variables */ - herr_t ret; /* Generic return value */ + herr_t H5_ATTR_SANITY_CHECK ret; /* Generic return value */ /* Allocate and initialize VL data to write */ for (i = 0; i < SDIM_DSET; i++) { @@ -4454,7 +4454,7 @@ static void test_comps_array_vlen(const char * fname, const char *dset, const ch hsize_t sdims_dset[] = { SDIM_DSET }; hsize_t sdims_arry[] = { SDIM_CMPD_ARRAY }; unsigned i, j, k; /* counting variables */ - herr_t ret; /* Generic return value */ + herr_t H5_ATTR_SANITY_CHECK ret; /* Generic return value */ /* Initialize array data to write in compound1 */ for (i = 0; i < SDIM_DSET; i++) { @@ -4597,7 +4597,7 @@ static void test_comps_vlen_arry(const char * fname, const char *dset, const cha hsize_t sdims_cmpd_arry[] = { SDIM_CMPD_ARRAY }; unsigned i, j, k; /* counting variables */ - herr_t ret; /* Generic return value */ + herr_t H5_ATTR_SANITY_CHECK ret; /* Generic return value */ /* Allocate and initialize VL data to write */ for (i = 0; i < SDIM_DSET; i++) { @@ -5214,7 +5214,7 @@ void write_attr_strings(hid_t loc_id, const char* dset_name, hid_t fid, int make hid_t aid = -1; hid_t sid = -1; hid_t tid = -1; - herr_t status; + herr_t H5_ATTR_SANITY_CHECK status; int val, i, j, k, l, n; float f; @@ -6205,7 +6205,7 @@ void write_attr_in(hid_t loc_id, const char* dset_name, hid_t fid, int make_diff hid_t aid = -1; hid_t sid = -1; hid_t tid = -1; - herr_t status; + herr_t H5_ATTR_SANITY_CHECK status; int val, i, j, k, l, n; float f; @@ -7197,7 +7197,7 @@ void write_dset_in(hid_t loc_id, const char* dset_name, hid_t fid, int make_diff hid_t sid = -1; hid_t tid = -1; hid_t dcpl = -1; - herr_t status; + herr_t H5_ATTR_SANITY_CHECK status; int val, i, j, k, l, n; float f; int fillvalue = 2; @@ -7832,7 +7832,7 @@ void gen_datareg(hid_t fid, int make_diffs /* flag to modify data buffers */) hsize_t start[10]; /* starting location of hyperslab */ hsize_t count[10]; /* element count of hyperslab */ hsize_t coord[5][2]; /* coordinates for point selection */ - herr_t status; + herr_t H5_ATTR_SANITY_CHECK status; int i; /* allocate the buffer for write the references */ |