summaryrefslogtreecommitdiffstats
path: root/tools/test/h5dump/h5dumpgentest.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-02-19 15:38:02 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-02-19 15:38:02 (GMT)
commit7b4131c2ae997f8e870ed57a9fca2f7f6d3ea233 (patch)
tree39039e0a303502b831ca50305661ad714221d66d /tools/test/h5dump/h5dumpgentest.c
parent47b79b7422c91e53ae5d87bcda45d52798a64fb6 (diff)
parent50aac126d7c4082c2aeb0f3a68cad26bd1cd9783 (diff)
downloadhdf5-7b4131c2ae997f8e870ed57a9fca2f7f6d3ea233.zip
hdf5-7b4131c2ae997f8e870ed57a9fca2f7f6d3ea233.tar.gz
hdf5-7b4131c2ae997f8e870ed57a9fca2f7f6d3ea233.tar.bz2
Merge pull request #2367 in HDFFV/hdf5 from ~DYOUNG/werror:unused to develop
* commit '50aac126d7c4082c2aeb0f3a68cad26bd1cd9783': Start to document the function/parameter/variable attribute macros. Filter all of the new _USED / _UNUSED type modifiers. H5_HAVE_PARALLEL, _DEBUG_API, etc. Add attributes to some variables and parameters that are unused under some configurations.
Diffstat (limited to 'tools/test/h5dump/h5dumpgentest.c')
-rw-r--r--tools/test/h5dump/h5dumpgentest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/h5dump/h5dumpgentest.c b/tools/test/h5dump/h5dumpgentest.c
index e68e622..d72664e 100644
--- a/tools/test/h5dump/h5dumpgentest.c
+++ b/tools/test/h5dump/h5dumpgentest.c
@@ -3093,7 +3093,7 @@ static void gent_array1(void)
hsize_t sdims1[] = {SPACE1_DIM1};
hsize_t tdims1[] = {ARRAY1_DIM1};
int i,j; /* counting variables */
- herr_t ret; /* Generic return value */
+ herr_t ret H5_ATTR_NDEBUG_UNUSED; /* Generic return value */
/* Allocate and initialize array data to write */
for(i=0; i<SPACE1_DIM1; i++)