summaryrefslogtreecommitdiffstats
path: root/src/H5Oattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Oattr.c')
-rw-r--r--src/H5Oattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Oattr.c b/src/H5Oattr.c
index 1a0d632..c01277d 100644
--- a/src/H5Oattr.c
+++ b/src/H5Oattr.c
@@ -244,7 +244,7 @@ done:
if (NULL == ret_value)
if (attr) {
if (attr->shared) {
- /* Free any dynamicly allocated items */
+ /* Free any dynamically allocated items */
if (H5A_free(attr) < 0)
HDONE_ERROR(H5E_ATTR, H5E_CANTRELEASE, NULL, "can't release attribute info")
@@ -384,7 +384,7 @@ done:
static void *
H5O_attr_copy(const void *_src, void *_dst)
{
- void *ret_value; /* Return value */
+ void *ret_value = NULL; /* Return value */
FUNC_ENTER_NOAPI_NOINIT