From fac0c1327142486041080e47282f875d64cad740 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 11 Nov 2002 19:33:21 -0500 Subject: [svn-r6076] Purpose: Update Description: Changed some of the asserts to check that a non-NULL H5F_t* is passed in. Platforms tested: Eirene PP Arabica Fortran Modi4 PP Fortran --- src/H5Oplist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/H5Oplist.c b/src/H5Oplist.c index 093e0b0..17aabc3 100644 --- a/src/H5Oplist.c +++ b/src/H5Oplist.c @@ -137,7 +137,7 @@ H5O_plist_decode(H5F_t UNUSED *f, const uint8_t *p, H5O_shared_t UNUSED *sh) FUNC_ENTER_NOAPI(H5O_plist_decode, NULL); /* check args */ - assert(!f); + assert(f); assert(p); assert(!sh); @@ -296,7 +296,7 @@ H5O_plist_encode(H5F_t UNUSED *f, uint8_t *p, const void *mesg) FUNC_ENTER_NOAPI(H5O_plist_encode, FAIL); /* check args */ - assert(!f); + assert(f); assert(p); assert(plist); @@ -518,7 +518,7 @@ H5O_plist_debug(H5F_t UNUSED *f, const void *mesg, FILE *stream, FUNC_ENTER_NOAPI(H5O_plist_debug, FAIL); /* check args */ - assert(!f); + assert(f); assert(plist); assert(stream); assert(indent >= 0); -- cgit v0.12