summaryrefslogtreecommitdiffstats
path: root/src/H5CS.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-08-03 12:57:29 (GMT)
committerGitHub <noreply@github.com>2023-08-03 12:57:29 (GMT)
commit7fc8531b767855e69fb4016783a1131ba581fd5b (patch)
treea243310b99da59c858ae4eaeed8c452e0177bba4 /src/H5CS.c
parenta77d8bfcd7d066c6759b0346c02cbd612f90b7c2 (diff)
downloadhdf5-7fc8531b767855e69fb4016783a1131ba581fd5b.zip
hdf5-7fc8531b767855e69fb4016783a1131ba581fd5b.tar.gz
hdf5-7fc8531b767855e69fb4016783a1131ba581fd5b.tar.bz2
Merge Made HGOTO_ERROR a do-while loop changes from develop (#3334)
Diffstat (limited to 'src/H5CS.c')
-rw-r--r--src/H5CS.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5CS.c b/src/H5CS.c
index 66ac0d7..d8ee8d7 100644
--- a/src/H5CS.c
+++ b/src/H5CS.c
@@ -242,9 +242,9 @@ H5CS_copy_stack(void)
/* Allocate a new stack */
/* (Don't use library allocate code, since this code stack supports it) */
if (NULL == (new_stack = calloc(1, sizeof(H5CS_t))))
- HGOTO_ERROR(H5E_RESOURCE, H5E_CANTALLOC, NULL, "can't allocate function stack")
+ HGOTO_ERROR(H5E_RESOURCE, H5E_CANTALLOC, NULL, "can't allocate function stack");
if (NULL == (new_stack->rec = calloc(old_stack->nused, sizeof(const char *))))
- HGOTO_ERROR(H5E_RESOURCE, H5E_CANTALLOC, NULL, "can't allocate function stack records")
+ HGOTO_ERROR(H5E_RESOURCE, H5E_CANTALLOC, NULL, "can't allocate function stack records");
/* Copy pointers on old stack to new one */
/* (Strings don't need to be duplicated, they are statically allocated) */