summaryrefslogtreecommitdiffstats
path: root/test/gen_new_super.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_new_super.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_new_super.c')
-rw-r--r--test/gen_new_super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gen_new_super.c b/test/gen_new_super.c
index f6ce589..ed43a39 100644
--- a/test/gen_new_super.c
+++ b/test/gen_new_super.c
@@ -24,7 +24,7 @@
*/
#include <assert.h>
-#include "hdf5.h"
+#include "testhdf5.h"
#define TESTFILE "tsupern.h5"
#define ISTORE_IK 64
@@ -50,7 +50,7 @@ main(void)
{
hid_t file; /* File IDs for old & new files */
hid_t fcpl; /* File creation property list */
- herr_t ret; /* Generic return value */
+ herr_t H5_ATTR_NDEBUG_UNUSED ret;
/* Create a file creation property list */
fcpl = H5Pcreate(H5P_FILE_CREATE);