diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-10-02 17:43:56 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-10-02 17:43:56 (GMT) |
commit | e2c5f6dd2bed3a0fce3eed401a2762ef9033d816 (patch) | |
tree | ab384216bc22be13026036745cb4197f38fd0111 /tools/lib | |
parent | 322a347ac84d4c4a12c965802d87d162d6db99fd (diff) | |
download | hdf5-e2c5f6dd2bed3a0fce3eed401a2762ef9033d816.zip hdf5-e2c5f6dd2bed3a0fce3eed401a2762ef9033d816.tar.gz hdf5-e2c5f6dd2bed3a0fce3eed401a2762ef9033d816.tar.bz2 |
Whitespace and benign synchro changes
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/io_timer.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/lib/io_timer.c b/tools/lib/io_timer.c index a6885df..ae299fa 100644 --- a/tools/lib/io_timer.c +++ b/tools/lib/io_timer.c @@ -133,7 +133,7 @@ io_time_t * set_time(io_time_t *pt, timer_type t, int start_stop) { /* sanity check */ - assert(pt); + HDassert(pt); switch(pt->type){ #ifdef H5_HAVE_PARALLEL @@ -216,6 +216,9 @@ set_time(io_time_t *pt, timer_type t, int start_stop) H5_ATTR_PURE double get_time(io_time_t *pt, timer_type t) { + /* sanity check */ + HDassert(pt); + return pt->total_time[t]; } |