summaryrefslogtreecommitdiffstats
path: root/src/H5Gname.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-05-21 17:30:54 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-05-21 17:30:54 (GMT)
commit424a41f878b9ac91f9411dcabc1b8358c7634ea1 (patch)
tree5361a19a29d57982f7db4e9c5206c6c45bc1cbca /src/H5Gname.c
parent7a3f473c04684c756c5398878b8b715320af94c1 (diff)
downloadhdf5-424a41f878b9ac91f9411dcabc1b8358c7634ea1.zip
hdf5-424a41f878b9ac91f9411dcabc1b8358c7634ea1.tar.gz
hdf5-424a41f878b9ac91f9411dcabc1b8358c7634ea1.tar.bz2
[svn-r23713] Description:
Clean up warnings, switch library code to use Standard C/POSIX wrapper macros, remove internal calls to API routines, update checkapi and checkposix scripts. Tested on: Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN Big-Endian Linux/64 (ostrich)
Diffstat (limited to 'src/H5Gname.c')
-rw-r--r--src/H5Gname.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5Gname.c b/src/H5Gname.c
index 72da498..1d2644b 100644
--- a/src/H5Gname.c
+++ b/src/H5Gname.c
@@ -135,7 +135,7 @@ H5G__component(const char *name, size_t *size_p)
{
FUNC_ENTER_PACKAGE_NOERR
- assert(name);
+ HDassert(name);
while ('/' == *name)
name++;
@@ -236,13 +236,13 @@ H5G_common_path(const H5RS_str_t *fullpath_r, const H5RS_str_t *prefix_r)
/* Get component of each name */
fullpath=H5RS_get_str(fullpath_r);
- assert(fullpath);
+ HDassert(fullpath);
fullpath=H5G__component(fullpath,&nchars1);
- assert(fullpath);
+ HDassert(fullpath);
prefix=H5RS_get_str(prefix_r);
- assert(prefix);
+ HDassert(prefix);
prefix=H5G__component(prefix,&nchars2);
- assert(prefix);
+ HDassert(prefix);
/* Check if we have a real string for each component */
while(*fullpath && *prefix) {
@@ -256,9 +256,9 @@ H5G_common_path(const H5RS_str_t *fullpath_r, const H5RS_str_t *prefix_r)
/* Get next component of each name */
fullpath=H5G__component(fullpath,&nchars1);
- assert(fullpath);
+ HDassert(fullpath);
prefix=H5G__component(prefix,&nchars2);
- assert(prefix);
+ HDassert(prefix);
} /* end if */
else
HGOTO_DONE(FALSE)