summaryrefslogtreecommitdiffstats
path: root/src/H5Gname.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-05-29 00:16:59 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-05-29 00:16:59 (GMT)
commitcf0c06c96228f2b04305bb05d582f42741e81268 (patch)
treed66c4511d795b73e96ca303c40bb35dac33faadf /src/H5Gname.c
parent530208b86c520b663efcc05835baa273b1991ccb (diff)
downloadhdf5-cf0c06c96228f2b04305bb05d582f42741e81268.zip
hdf5-cf0c06c96228f2b04305bb05d582f42741e81268.tar.gz
hdf5-cf0c06c96228f2b04305bb05d582f42741e81268.tar.bz2
[svn-r23719] Description:
Bring r23713 and r23717 from trunk to 1.8 branch: 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 018c055..8e21109 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)