summaryrefslogtreecommitdiffstats
path: root/src/H5trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5trace.c')
-rw-r--r--src/H5trace.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5trace.c b/src/H5trace.c
index 7b3d354..6608a52 100644
--- a/src/H5trace.c
+++ b/src/H5trace.c
@@ -259,13 +259,13 @@ H5_trace_args(H5RS_str_t *rs, const char *type, va_list ap)
if ('a' == type[1]) {
asize_idx = (int)HDstrtol(type + 2, &rest, 10);
- HDassert(0 <= asize_idx && asize_idx < (int)NELMTS(asize));
- HDassert(']' == *rest);
+ assert(0 <= asize_idx && asize_idx < (int)NELMTS(asize));
+ assert(']' == *rest);
type = rest + 1;
}
else {
rest = (char *)HDstrchr(type, ']');
- HDassert(rest);
+ assert(rest);
type = rest + 1;
asize_idx = -1;
}
@@ -4033,7 +4033,7 @@ H5_trace(const double *returning, const char *func, const char *type, ...)
* since the one for the function call, then we're continuing
* the same line. */
if (returning) {
- HDassert(current_depth > 0);
+ assert(current_depth > 0);
--current_depth;
if (current_depth < last_call_depth) {
/* We are at the beginning of a line */