summaryrefslogtreecommitdiffstats
path: root/src/H5Tarray.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 14:31:56 (GMT)
committerGitHub <noreply@github.com>2023-06-28 14:31:56 (GMT)
commit7a44581a84778a1346a2fd5b6cca7d9db905a321 (patch)
tree44ea9c2d1b471eb227698abe8499c34cfa6d47d2 /src/H5Tarray.c
parent622fcbd13881fbc58bbeaed3062583b759f5e864 (diff)
downloadhdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.zip
hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.gz
hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.bz2
Rename HDassert() to assert() (#3191)
* Change HDassert to assert * Fix bin/make_err
Diffstat (limited to 'src/H5Tarray.c')
-rw-r--r--src/H5Tarray.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5Tarray.c b/src/H5Tarray.c
index d3d4c8d..e52a461 100644
--- a/src/H5Tarray.c
+++ b/src/H5Tarray.c
@@ -143,9 +143,9 @@ H5T__array_create(H5T_t *base, unsigned ndims, const hsize_t dim[/* ndims */])
FUNC_ENTER_PACKAGE
- HDassert(base);
- HDassert(ndims <= H5S_MAX_RANK);
- HDassert(dim);
+ assert(base);
+ assert(ndims <= H5S_MAX_RANK);
+ assert(dim);
/* Build new type */
if (NULL == (ret_value = H5T__alloc()))
@@ -233,8 +233,8 @@ H5T__get_array_ndims(const H5T_t *dt)
{
FUNC_ENTER_PACKAGE_NOERR
- HDassert(dt);
- HDassert(dt->shared->type == H5T_ARRAY);
+ assert(dt);
+ assert(dt->shared->type == H5T_ARRAY);
/* Retrieve the number of dimensions */
FUNC_LEAVE_NOAPI((int)dt->shared->u.array.ndims)
@@ -296,8 +296,8 @@ H5T__get_array_dims(const H5T_t *dt, hsize_t dims[])
FUNC_ENTER_PACKAGE_NOERR
- HDassert(dt);
- HDassert(dt->shared->type == H5T_ARRAY);
+ assert(dt);
+ assert(dt->shared->type == H5T_ARRAY);
/* Retrieve the sizes of the dimensions */
if (dims)