summaryrefslogtreecommitdiffstats
path: root/src/H5O.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/H5O.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/H5O.c')
-rw-r--r--src/H5O.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5O.c b/src/H5O.c
index 7eccf60..82d7cc3 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -1518,7 +1518,7 @@ H5O_read_real(H5G_entry_t *ent, const H5O_class_t *type, int sequence, void *mes
ret_value = (H5O_fast_g[cache_type]) (cache, type, mesg);
if (ret_value)
HGOTO_DONE(ret_value);
- H5E_clear(H5E_get_my_stack()); /*don't care, try reading from header */
+ H5E_clear(NULL); /*don't care, try reading from header */
}
/* can we get it from the object header? */
@@ -1829,7 +1829,7 @@ H5O_modify_real(H5G_entry_t *ent, const H5O_class_t *type, int overwrite,
* If the message isn't shared then turn off the shared bit
* and treat it as an unshared message.
*/
- H5E_clear (H5E_get_my_stack());
+ H5E_clear (NULL);
flags &= ~H5O_FLAG_SHARED;
} else if (sh_mesg.in_gh) {
/*
@@ -2101,7 +2101,7 @@ H5O_append_real(H5F_t *f, hid_t dxpl_id, H5O_t *oh, const H5O_class_t *type,
* If the message isn't shared then turn off the shared bit
* and treat it as an unshared message.
*/
- H5E_clear (H5E_get_my_stack());
+ H5E_clear (NULL);
flags &= ~H5O_FLAG_SHARED;
} else if (sh_mesg.in_gh) {
/*
@@ -2926,7 +2926,7 @@ H5O_alloc(H5F_t *f, H5O_t *oh, const H5O_class_t *type, size_t size)
if ((idx = H5O_alloc_extend_chunk(oh, chunkno, size)) != UFAIL) {
break;
}
- H5E_clear(H5E_get_my_stack());
+ H5E_clear(NULL);
}
/*