summaryrefslogtreecommitdiffstats
path: root/src/H5Sall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Sall.c')
-rw-r--r--src/H5Sall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Sall.c b/src/H5Sall.c
index 76fe0d6..3c111f7 100644
--- a/src/H5Sall.c
+++ b/src/H5Sall.c
@@ -632,7 +632,7 @@ for (u=0; u<=mem_space->extent.u.simple.rank; u++)
*must_convert = FALSE;
done:
- FUNC_LEAVE(SUCCEED);
+ FUNC_LEAVE(ret_value);
}
@@ -892,7 +892,7 @@ H5S_all_write(H5F_t *f, const struct H5O_layout_t *layout,
done:
- FUNC_LEAVE(SUCCEED);
+ FUNC_LEAVE(ret_value);
}