summaryrefslogtreecommitdiffstats
path: root/src/H5CX.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2020-01-13 19:20:19 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-13 19:20:19 (GMT)
commit9712fad601a7844dc01deb1dc4d81b5aa5402b5e (patch)
treea5020737164f843254a67695e4cae4586f568c3e /src/H5CX.c
parentb0e5b2d9338bf352a4154a838c4146c84be8705b (diff)
downloadhdf5-9712fad601a7844dc01deb1dc4d81b5aa5402b5e.zip
hdf5-9712fad601a7844dc01deb1dc4d81b5aa5402b5e.tar.gz
hdf5-9712fad601a7844dc01deb1dc4d81b5aa5402b5e.tar.bz2
fix unused related warnings
Diffstat (limited to 'src/H5CX.c')
-rw-r--r--src/H5CX.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5CX.c b/src/H5CX.c
index 649bd8f..998808b 100644
--- a/src/H5CX.c
+++ b/src/H5CX.c
@@ -105,7 +105,7 @@
} /* end if */
#endif /* H5_HAVE_PARALLEL */
-#ifdef H5_HAVE_PARALLEL
+#if defined(H5_HAVE_PARALLEL) && defined(H5_HAVE_INSTRUMENTED_LIBRARY)
/* Macro for the duplicated code to test and set properties for a property list */
#define H5CX_TEST_SET_PROP(PROP_NAME, PROP_FIELD) \
{ \
@@ -127,7 +127,9 @@
(*head)->ctx.H5_GLUE(PROP_FIELD,_set) = TRUE; \
} /* end if */ \
}
+#endif
+#ifdef H5_HAVE_PARALLEL
/* Macro for the duplicated code to test and set properties for a property list */
#define H5CX_SET_PROP(PROP_NAME, PROP_FIELD) \
if((*head)->ctx.H5_GLUE(PROP_FIELD,_set)) { \