summaryrefslogtreecommitdiffstats
path: root/src/H5Distore.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-08 18:47:43 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-08 18:47:43 (GMT)
commit1186c0b7fa94b89de8514dd20ef47c66aed23581 (patch)
treedf8c4947c2a3aec6e871d8ea80b209532bf802d5 /src/H5Distore.c
parent9038dcb4b6be39e7851a9231f8ab9a5896025868 (diff)
downloadhdf5-1186c0b7fa94b89de8514dd20ef47c66aed23581.zip
hdf5-1186c0b7fa94b89de8514dd20ef47c66aed23581.tar.gz
hdf5-1186c0b7fa94b89de8514dd20ef47c66aed23581.tar.bz2
[svn-r7297] Purpose:
Code cleanup Description: Changed lines like: H5E_clear(H5E_get_my_stack()); to: H5E_clear(NULL); which performs the same operation. Platforms tested: h5committested
Diffstat (limited to 'src/H5Distore.c')
-rw-r--r--src/H5Distore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Distore.c b/src/H5Distore.c
index 3274440..fa969f0 100644
--- a/src/H5Distore.c
+++ b/src/H5Distore.c
@@ -1432,7 +1432,7 @@ H5F_istore_lock(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout,
udata.mesg = *layout;
udata.addr = HADDR_UNDEF;
status = H5B_find (f, dxpl_id, H5B_ISTORE, layout->addr, &udata);
- H5E_clear(H5E_get_my_stack());
+ H5E_clear(NULL);
if (status>=0 && H5F_addr_defined(udata.addr)) {
size_t chunk_alloc=0; /*allocated chunk size */
@@ -2082,7 +2082,7 @@ H5F_istore_get_addr(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout,
/* Go get the chunk information */
if (H5B_find (f, dxpl_id, H5B_ISTORE, layout->addr, &udata)<0) {
- H5E_clear(H5E_get_my_stack());
+ H5E_clear(NULL);
HGOTO_ERROR(H5E_BTREE,H5E_NOTFOUND,HADDR_UNDEF,"Can't locate chunk info");
} /* end if */