summaryrefslogtreecommitdiffstats
path: root/test/tselect.c
diff options
context:
space:
mode:
authorKimmy Mu <kmu@hdfgroup.org>2020-01-23 01:46:53 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-28 02:39:58 (GMT)
commit066b874e5a6eb828afea655b6ea5c2ac70abb9e8 (patch)
tree86505edf2affdf6c2e898725e95e72fe8dca63d3 /test/tselect.c
parentd038d8510032696e4defd86f1906e7d4fa133ba9 (diff)
downloadhdf5-066b874e5a6eb828afea655b6ea5c2ac70abb9e8.zip
hdf5-066b874e5a6eb828afea655b6ea5c2ac70abb9e8.tar.gz
hdf5-066b874e5a6eb828afea655b6ea5c2ac70abb9e8.tar.bz2
Merge pull request #2094 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/unused to develop
* commit '145ef3ceee20c28a443bd11507c58858bea3f889': more cleanup change it back pick up missing piece fix unused related warnings removed unused parameter more fix and address comments remove unsed var,function,macro, etc
Diffstat (limited to 'test/tselect.c')
-rw-r--r--test/tselect.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/tselect.c b/test/tselect.c
index 27bc36b..390f61f 100644
--- a/test/tselect.c
+++ b/test/tselect.c
@@ -25,7 +25,6 @@
#define H5S_TESTING
#include "testhdf5.h"
-#include "hdf5.h"
#include "H5Spkg.h" /* Dataspaces */
#define FILENAME "tselect.h5"
@@ -1613,7 +1612,7 @@ test_select_hyper_contig3(hid_t dset_type, hid_t xfer_plist)
****************************************************************/
static void
verify_select_hyper_contig_dr__run_test(const uint16_t *cube_buf,
- size_t cube_size, unsigned edge_size, unsigned cube_rank)
+ size_t H5_ATTR_NDEBUG_UNUSED cube_size, unsigned edge_size, unsigned cube_rank)
{
const uint16_t *cube_ptr; /* Pointer into the cube buffer */
uint16_t expected_value; /* Expected value in dataset */