summaryrefslogtreecommitdiffstats
path: root/src/H5S.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5S.c')
-rw-r--r--src/H5S.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5S.c b/src/H5S.c
index 7ef1da4..2eebba4 100644
--- a/src/H5S.c
+++ b/src/H5S.c
@@ -324,7 +324,7 @@ H5S_extent_release(H5S_extent_t *extent)
FUNC_ENTER_NOAPI(FAIL)
- assert(extent);
+ HDassert(extent);
/* Release extent */
if(extent->type == H5S_SIMPLE) {
@@ -725,7 +725,7 @@ H5S_get_npoints_max(const H5S_t *ds)
FUNC_ENTER_NOAPI(0)
/* check args */
- assert(ds);
+ HDassert(ds);
switch (H5S_GET_EXTENT_TYPE(ds)) {
case H5S_NULL:
@@ -755,7 +755,7 @@ H5S_get_npoints_max(const H5S_t *ds)
case H5S_NO_CLASS:
default:
- assert("unknown dataspace class" && 0);
+ HDassert("unknown dataspace class" && 0);
HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, 0, "internal error (unknown dataspace class)")
}
@@ -1434,7 +1434,7 @@ H5S_create_simple(unsigned rank, const hsize_t dims[/*rank*/],
FUNC_ENTER_NOAPI(NULL)
/* Check arguments */
- assert(rank <=H5S_MAX_RANK);
+ HDassert(rank <=H5S_MAX_RANK);
/* Create the space and set the extent */
if(NULL==(ret_value=H5S_create(H5S_SIMPLE)))
@@ -1712,7 +1712,7 @@ H5S_get_simple_extent_type(const H5S_t *space)
FUNC_ENTER_NOAPI(H5S_NO_CLASS)
- assert(space);
+ HDassert(space);
ret_value=H5S_GET_EXTENT_TYPE(space);