summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormyang6 <myang6@hdfgroup.org>2021-10-20 13:59:16 (GMT)
committermyang6 <myang6@hdfgroup.org>2021-10-20 13:59:16 (GMT)
commitc17ec107bb9d3afd99774e66fba2a6c8f8ca5142 (patch)
treec54eb7842849aa598e0d9df2052be11e3c50cae4 /src
parent9f3adc68aa94405652abbe146336b0019b57fac5 (diff)
downloadhdf5-c17ec107bb9d3afd99774e66fba2a6c8f8ca5142.zip
hdf5-c17ec107bb9d3afd99774e66fba2a6c8f8ca5142.tar.gz
hdf5-c17ec107bb9d3afd99774e66fba2a6c8f8ca5142.tar.bz2
Still need to support the NULL pointer in the log report function.
Diffstat (limited to 'src')
-rw-r--r--src/H5Fvfd_swmr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c
index 378fd82..ee9ccda 100644
--- a/src/H5Fvfd_swmr.c
+++ b/src/H5Fvfd_swmr.c
@@ -1921,6 +1921,10 @@ H5F_post_vfd_swrm_log_entry(H5F_t *f, int entry_type_code, char *body)
unsigned int elap_min, elap_sec, elap_msec;
FUNC_ENTER_NOAPI(FAIL)
+#if 0
+ HDassert(f);
+ HDassert(f->shared);
+#endif
if (f == NULL)
HGOTO_DONE(TRUE)
else if (f->shared == NULL)