summaryrefslogtreecommitdiffstats
path: root/src/H5trace.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-03-11 06:39:48 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-03-11 06:39:48 (GMT)
commit52607ae9004a01637dbfc411fd9c0a382f4e3f99 (patch)
tree58dbdc111ea6ca3ae8dc07d0742beb5a20b6f47e /src/H5trace.c
parent3ed20376e058b8d17c9c91d2c06107fcb67a0c3c (diff)
downloadhdf5-52607ae9004a01637dbfc411fd9c0a382f4e3f99.zip
hdf5-52607ae9004a01637dbfc411fd9c0a382f4e3f99.tar.gz
hdf5-52607ae9004a01637dbfc411fd9c0a382f4e3f99.tar.bz2
[svn-r26427] Revert of r26426
The repository wasn't clean when I made some changes so untested code was committed.
Diffstat (limited to 'src/H5trace.c')
-rw-r--r--src/H5trace.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5trace.c b/src/H5trace.c
index cb5a8c8..6634a2a 100644
--- a/src/H5trace.c
+++ b/src/H5trace.c
@@ -129,34 +129,34 @@ H5_trace(const double *returning, const char *func, const char *type, ...)
void *vp = NULL;
FILE *out = H5_debug_g.trace;
H5_timer_t event_time;
- static H5_timer_t first_time = {H5_DOUBLE(0.0), H5_DOUBLE(0.0), H5_DOUBLE(0.0)};
+ static H5_timer_t first_time = {0.0F, 0.0F, 0.0F};
static int current_depth = 0;
static int last_call_depth = 0;
/* FUNC_ENTER() should not be called */
if(!out)
- return H5_DOUBLE(0.0); /*tracing is off*/
+ return 0.0F; /*tracing is off*/
va_start(ap, type);
if(H5_debug_g.ttop) {
if(returning) {
if(current_depth > 1) {
--current_depth;
- return H5_DOUBLE(0.0);
+ return 0.0F;
} /* end if */
} /* end if */
else {
if(current_depth > 0) {
/*do not update last_call_depth*/
current_depth++;
- return H5_DOUBLE(0.0);
+ return 0.0F;
} /* end if */
} /* end else */
} /* end if */
/* Get time for event */
- if(HDfabs(first_time.etime) < H5_DOUBLE(0.0000000001))
+ if(HDfabs(first_time.etime) < 0.0000000001F)
/* That is == 0.0, but direct comparison between floats is bad */
H5_timer_begin(&first_time);
if(H5_debug_g.ttimes)