summaryrefslogtreecommitdiffstats
path: root/src/H5CX.c
diff options
context:
space:
mode:
authorKimmy Mu <kmu@hdfgroup.org>2020-01-23 01:46:53 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-28 02:39:58 (GMT)
commit066b874e5a6eb828afea655b6ea5c2ac70abb9e8 (patch)
tree86505edf2affdf6c2e898725e95e72fe8dca63d3 /src/H5CX.c
parentd038d8510032696e4defd86f1906e7d4fa133ba9 (diff)
downloadhdf5-066b874e5a6eb828afea655b6ea5c2ac70abb9e8.zip
hdf5-066b874e5a6eb828afea655b6ea5c2ac70abb9e8.tar.gz
hdf5-066b874e5a6eb828afea655b6ea5c2ac70abb9e8.tar.bz2
Merge pull request #2094 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/unused to develop
* commit '145ef3ceee20c28a443bd11507c58858bea3f889': more cleanup change it back pick up missing piece fix unused related warnings removed unused parameter more fix and address comments remove unsed var,function,macro, etc
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..160aa84 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 /* defined(H5_HAVE_PARALLEL) && defined(H5_HAVE_INSTRUMENTED_LIBRARY) */
+#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)) { \