summaryrefslogtreecommitdiffstats
path: root/src/H5A.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/H5A.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/H5A.c')
-rw-r--r--src/H5A.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/H5A.c b/src/H5A.c
index 439654b..b110be9 100644
--- a/src/H5A.c
+++ b/src/H5A.c
@@ -119,9 +119,9 @@ H5A__create_common(H5VL_object_t *vol_obj, H5VL_loc_params_t *loc_params, const
FUNC_ENTER_PACKAGE
/* Sanity checks */
- HDassert(vol_obj);
- HDassert(loc_params);
- HDassert(attr_name);
+ assert(vol_obj);
+ assert(loc_params);
+ assert(attr_name);
/* Create the attribute */
if (NULL == (attr = H5VL_attr_create(vol_obj, loc_params, attr_name, type_id, space_id, acpl_id, aapl_id,
@@ -455,8 +455,8 @@ H5A__open_common(H5VL_object_t *vol_obj, H5VL_loc_params_t *loc_params, const ch
FUNC_ENTER_PACKAGE
/* Sanity checks */
- HDassert(vol_obj);
- HDassert(loc_params);
+ assert(vol_obj);
+ assert(loc_params);
/* Open the attribute */
if (NULL ==
@@ -1205,7 +1205,7 @@ H5Aget_create_plist(hid_t attr_id)
FUNC_ENTER_API(H5I_INVALID_HID)
H5TRACE1("i", "i", attr_id);
- HDassert(H5P_LST_ATTRIBUTE_CREATE_ID_g != -1);
+ assert(H5P_LST_ATTRIBUTE_CREATE_ID_g != -1);
/* Check arguments */
if (NULL == (vol_obj = (H5VL_object_t *)H5I_object_verify(attr_id, H5I_ATTR)))
@@ -1589,10 +1589,10 @@ H5A__rename_common(H5VL_object_t *vol_obj, H5VL_loc_params_t *loc_params, const
FUNC_ENTER_PACKAGE
/* Sanity checks */
- HDassert(vol_obj);
- HDassert(loc_params);
- HDassert(old_name);
- HDassert(new_name);
+ assert(vol_obj);
+ assert(loc_params);
+ assert(old_name);
+ assert(new_name);
/* Avoid thrashing things if the names are the same */
if (HDstrcmp(old_name, new_name) != 0) {
@@ -2332,8 +2332,8 @@ H5A__exists_common(H5VL_object_t *vol_obj, H5VL_loc_params_t *loc_params, const
FUNC_ENTER_PACKAGE
/* Sanity checks */
- HDassert(vol_obj);
- HDassert(loc_params);
+ assert(vol_obj);
+ assert(loc_params);
/* Check arguments */
if (!attr_name || !*attr_name)