summaryrefslogtreecommitdiffstats
path: root/test/gen_nullspace.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-02-10 20:41:20 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:31:55 (GMT)
commit28103327a504047620c8fccd39a649f25d3c4c38 (patch)
treeed352d52c3fef9869f6d14d15ded90c3951fd094 /test/gen_nullspace.c
parent5640d832e40ab627faef705e1c3f223cfb990e24 (diff)
downloadhdf5-28103327a504047620c8fccd39a649f25d3c4c38.zip
hdf5-28103327a504047620c8fccd39a649f25d3c4c38.tar.gz
hdf5-28103327a504047620c8fccd39a649f25d3c4c38.tar.bz2
H5_HAVE_PARALLEL, _DEBUG_API, etc. Add attributes to some variables and
parameters that are unused under some configurations.
Diffstat (limited to 'test/gen_nullspace.c')
-rw-r--r--test/gen_nullspace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gen_nullspace.c b/test/gen_nullspace.c
index 9d76deb..e4e75ac 100644
--- a/test/gen_nullspace.c
+++ b/test/gen_nullspace.c
@@ -24,8 +24,8 @@
* put into the 'test' directory in the 1.6.x branch of the library.
*/
-#include "hdf5.h"
#include <assert.h>
+#include "testhdf5.h"
#define NULLFILE "tnullspace.h5"
#define NULLDATASET "null_dataset"
@@ -39,7 +39,7 @@ main(void)
hid_t sid; /* Dataspace ID */
hid_t did; /* Dataset ID */
hid_t attr; /* Attribute ID */
- herr_t ret; /* Generic return value */
+ herr_t H5_ATTR_NDEBUG_UNUSED ret; /* Generic return value */
/* Create the file */
fid = H5Fcreate(NULLFILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);