summaryrefslogtreecommitdiffstats
path: root/test/ttsafe_cancel.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/ttsafe_cancel.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/ttsafe_cancel.c')
-rw-r--r--test/ttsafe_cancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ttsafe_cancel.c b/test/ttsafe_cancel.c
index dd52232..f6bcd0d 100644
--- a/test/ttsafe_cancel.c
+++ b/test/ttsafe_cancel.c
@@ -61,7 +61,7 @@ tts_cancel(void)
pthread_attr_t attribute;
hid_t dataset;
int buffer;
- int ret;
+ int H5_ATTR_NDEBUG_UNUSED ret;
/* make thread scheduling global */
ret=pthread_attr_init(&attribute);