summaryrefslogtreecommitdiffstats
path: root/src/H5Fistore.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-07-08 21:18:18 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-07-08 21:18:18 (GMT)
commit5f554bcced24f97371c34c36bb83eea921e2a85b (patch)
tree2ce1160aad30f3732f0e9d5504e5ac1fe0768dca /src/H5Fistore.c
parent44d5c8823eb4370ff70bf7ed56c8eae7404d222c (diff)
downloadhdf5-5f554bcced24f97371c34c36bb83eea921e2a85b.zip
hdf5-5f554bcced24f97371c34c36bb83eea921e2a85b.tar.gz
hdf5-5f554bcced24f97371c34c36bb83eea921e2a85b.tar.bz2
[svn-r473] Changes since 19980708
---------------------- ./src/H5Fistore.c ./src/H5S.c Fixed places where `herr_t' functions returned NULL for failure: H5F_istore_get_addr() and printf(?!?) (probably because a printf() was in the first column :-/ so I don't know what function it really was that I fixed), and H5S_extent_copy(). ./src/H5Fprivate.h Added declarations for H5F_istore_get_addr() and H5F_istore_allocate(). ./src/H5S.c ./src/H5Sprivate.h Split H5Sset_extent_simple() into H5S_set_extent_simple() and replaced calls to the API function with calls to the internal function. Changed calls to H5Screate() to H5S_create() and H5Sclose() to H5S_close(). ./src/H5Shyper.c ./src/H5Spoint.c Removed unused labels and variable. ./src/H5T.c ./src/H5Tconv.c Changed calls to H5Tfind() to H5T_find(). ./src/H5TB.c Split function return type onto a separate line for five functions and added API tracing calls.
Diffstat (limited to 'src/H5Fistore.c')
-rw-r--r--src/H5Fistore.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5Fistore.c b/src/H5Fistore.c
index a97e542..5e54464 100644
--- a/src/H5Fistore.c
+++ b/src/H5Fistore.c
@@ -1758,9 +1758,8 @@ H5F_istore_get_addr (H5F_t *f, const H5O_layout_t *layout,
{
intn i;
herr_t status; /*func return status */
- herr_t ret_value=FAIL; /*return value */
- FUNC_ENTER (H5F_istore_get_addr, NULL);
+ FUNC_ENTER (H5F_istore_get_addr, FAIL);
assert(f);
assert(layout && (layout->ndims > 0));
@@ -1840,7 +1839,7 @@ printf("Enter %s:\n", FUNC);
/* get current dims of dataset */
if ((space_ndims=H5S_get_dims(space, space_dim, NULL)) <= 0 ||
space_ndims+1 != layout->ndims){
- HRETURN_ERROR(H5E_DATASET, H5E_CANTINIT, NULL,
+ HRETURN_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL,
"unable to allocate chunk storage");
}
/* copy the element size over */