summaryrefslogtreecommitdiffstats
path: root/src/H5Oint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Oint.c')
-rw-r--r--src/H5Oint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Oint.c b/src/H5Oint.c
index 1d07415..b543d1b 100644
--- a/src/H5Oint.c
+++ b/src/H5Oint.c
@@ -2848,8 +2848,7 @@ H5O_get_oh_flags(const H5O_t *oh)
{
FUNC_ENTER_NOAPI_NOINIT_NOERR
HDassert(oh);
- HDassert(oh->flags);
- FUNC_LEAVE_NOAPI(oh->flags);
+ FUNC_LEAVE_NOAPI(oh->flags); /* flags can be 0 */
}