summaryrefslogtreecommitdiffstats
path: root/src/H5Oname.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-08-17 16:12:59 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-08-17 16:12:59 (GMT)
commitb2d917437dde37938ce27753b9bf22899bf1f6a9 (patch)
treec1a7ca0939b4959e2a7d438b61466045272fe5aa /src/H5Oname.c
parentd53c9be189578c63b67b23495e396f21819c373d (diff)
downloadhdf5-b2d917437dde37938ce27753b9bf22899bf1f6a9.zip
hdf5-b2d917437dde37938ce27753b9bf22899bf1f6a9.tar.gz
hdf5-b2d917437dde37938ce27753b9bf22899bf1f6a9.tar.bz2
Minor refactoring based on 1.10 normalization work
Diffstat (limited to 'src/H5Oname.c')
-rw-r--r--src/H5Oname.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Oname.c b/src/H5Oname.c
index 41cd01e..0e1fc62 100644
--- a/src/H5Oname.c
+++ b/src/H5Oname.c
@@ -97,9 +97,9 @@ H5O__name_decode(H5F_t H5_ATTR_UNUSED *f, H5O_t H5_ATTR_UNUSED *open_oh,
/* decode */
if(NULL == (mesg = (H5O_name_t *)H5MM_calloc(sizeof(H5O_name_t))))
- HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed")
+ HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed")
if(NULL == (mesg->s = (char *)H5MM_strdup((const char *)p)))
- HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed")
+ HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed")
/* Set return value */
ret_value = mesg;
@@ -172,7 +172,7 @@ H5O__name_copy(const void *_mesg, void *_dest)
HDassert(mesg);
if(!dest && NULL == (dest = (H5O_name_t *)H5MM_calloc(sizeof(H5O_name_t))))
- HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed")
+ HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed")
/* copy */
*dest = *mesg;