summaryrefslogtreecommitdiffstats
path: root/src/H5E.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5E.c')
-rw-r--r--src/H5E.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5E.c b/src/H5E.c
index a697f39..f893d55 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -345,6 +345,7 @@ done:
PABLO_TRACE_OFF(H5E_mask, ID_H5Epush); /* ignore ret_value set */
} /* H5Epush */
+#ifdef H5_ERROR_DEBUG
/*--------------------------------------------------------------------------
NAME
H5Eset_push -- Set the function to call when an error value is reported
@@ -391,4 +392,5 @@ done:
FUNC_LEAVE(H5E_mask, ID_H5Eset_push, ret_value);
} /* H5Eset_push */
+#endif /* H5_ERROR_DEBUG */