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-02-10 20:41:20 (GMT)
commitf9a8fd5a4c8f3c8f2d707dd384582181a0c33077 (patch)
treed2091ee5bd75847e86ba7a8b8a137214b14187a5 /test/gen_nullspace.c
parente5ae3101095db4b57fedf120c1dadbc257dd92c3 (diff)
downloadhdf5-f9a8fd5a4c8f3c8f2d707dd384582181a0c33077.zip
hdf5-f9a8fd5a4c8f3c8f2d707dd384582181a0c33077.tar.gz
hdf5-f9a8fd5a4c8f3c8f2d707dd384582181a0c33077.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);