2
0
mirror of https://github.com/HDFGroup/hdf5.git synced 2025-04-24 17:51:25 +08:00

[svn-r9332] Purpose:

Bug fix

Description:
    Correct assertion to check pointer value correctly.

Platforms tested:
    AIX 5.1 (copper)
    too minor to require h5committest
This commit is contained in:
Quincey Koziol 2004-09-28 14:45:28 -05:00
parent 85597e5cc7
commit 2dab610c43

@ -124,7 +124,7 @@ H5FO_opened(const H5F_t *f, haddr_t addr)
open_obj=H5TB_NODE_DATA(obj_node);
assert(open_obj);
ret_value=open_obj->obj;
assert(ret_value>0);
assert(ret_value!=NULL);
} /* end if */
else
ret_value=NULL;