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-05-20 14:31:55 (GMT)
commit28103327a504047620c8fccd39a649f25d3c4c38 (patch)
treeed352d52c3fef9869f6d14d15ded90c3951fd094 /test/ttsafe_cancel.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/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);