summaryrefslogtreecommitdiffstats
path: root/src/H5Gname.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2013-07-30 21:41:23 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2013-07-30 21:41:23 (GMT)
commit147522bb6118ec82f087208d5caa046f57ff801d (patch)
treefdc57bdc084da094731012092ba137336f75baf3 /src/H5Gname.c
parent4d080e50f6bde9746d2dc12ced01d7f5758965cb (diff)
downloadhdf5-147522bb6118ec82f087208d5caa046f57ff801d.zip
hdf5-147522bb6118ec82f087208d5caa046f57ff801d.tar.gz
hdf5-147522bb6118ec82f087208d5caa046f57ff801d.tar.bz2
[svn-r23948] Bring revisions #23670 - 23713 from trunk to revise_chunks.
h5committested.
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)