diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-09-06 18:54:16 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-09-06 18:54:16 (GMT) |
commit | b0d47e55f7a9274cc18458756b4e48dd8169ea43 (patch) | |
tree | 27a42b859d1772f63881b911924201fc2987f94a /src/H5O.c | |
parent | bd346629483722e7bae94521a33df4ec7a58bf0b (diff) | |
download | hdf5-b0d47e55f7a9274cc18458756b4e48dd8169ea43.zip hdf5-b0d47e55f7a9274cc18458756b4e48dd8169ea43.tar.gz hdf5-b0d47e55f7a9274cc18458756b4e48dd8169ea43.tar.bz2 |
[svn-r7446] Purpose:
Code cleanup/bug fix
Description:
Move metadata cache calls around a bit so they protect the usage of the
metadata better.
Platforms tested:
FreeBSD 4.9 (sleipnir)
too small to need h5committest
Diffstat (limited to 'src/H5O.c')
-rw-r--r-- | src/H5O.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1339,6 +1339,7 @@ H5O_count_real (H5G_entry_t *ent, const H5O_class_t *type, hid_t dxpl_id) if (oh->mesg[u].type==type) acc++; } + oh=NULL; /* Set return value */ ret_value=acc; @@ -1441,6 +1442,7 @@ H5O_exists_real(H5G_entry_t *ent, const H5O_class_t *type, int sequence, hid_t d if (--sequence<0) break; } + oh=NULL; /* Set return value */ ret_value=(sequence<0); |