summaryrefslogtreecommitdiffstats
path: root/src/H5Gent.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-08 21:03:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-08 21:03:17 (GMT)
commit210ef12816e84c0550f6d92be8429a50b534962f (patch)
tree48178978f25092111ed4f5543b527087e0e46009 /src/H5Gent.c
parentd0710fb699b8d60b59e1bf8dc1844b7add7f644d (diff)
downloadhdf5-210ef12816e84c0550f6d92be8429a50b534962f.zip
hdf5-210ef12816e84c0550f6d92be8429a50b534962f.tar.gz
hdf5-210ef12816e84c0550f6d92be8429a50b534962f.tar.bz2
[svn-r11219] Purpose:
Code cleanup Description: Bring some of the cleanups from the external link coding (which isn't checked in yet) back into CVS as an intermediate checkin. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'src/H5Gent.c')
-rw-r--r--src/H5Gent.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/H5Gent.c b/src/H5Gent.c
index 6005b10..d6219ab 100644
--- a/src/H5Gent.c
+++ b/src/H5Gent.c
@@ -203,21 +203,21 @@ H5G_ent_decode(H5F_t *f, const uint8_t **pp, H5G_entry_t *ent)
/* decode scratch-pad */
switch (ent->type) {
- case H5G_NOTHING_CACHED:
- break;
+ case H5G_NOTHING_CACHED:
+ break;
- case H5G_CACHED_STAB:
- assert(2 * H5F_SIZEOF_ADDR(f) <= H5G_SIZEOF_SCRATCH);
- H5F_addr_decode(f, pp, &(ent->cache.stab.btree_addr));
- H5F_addr_decode(f, pp, &(ent->cache.stab.heap_addr));
- break;
+ case H5G_CACHED_STAB:
+ assert(2 * H5F_SIZEOF_ADDR(f) <= H5G_SIZEOF_SCRATCH);
+ H5F_addr_decode(f, pp, &(ent->cache.stab.btree_addr));
+ H5F_addr_decode(f, pp, &(ent->cache.stab.heap_addr));
+ break;
- case H5G_CACHED_SLINK:
- UINT32DECODE (*pp, ent->cache.slink.lval_offset);
- break;
+ case H5G_CACHED_SLINK:
+ UINT32DECODE (*pp, ent->cache.slink.lval_offset);
+ break;
- default:
- HDabort();
+ default:
+ HDabort();
}
*pp = p_ret + H5G_SIZEOF_ENTRY(f);
@@ -486,8 +486,8 @@ H5G_ent_debug(H5F_t UNUSED *f, hid_t dxpl_id, const H5G_entry_t *ent, FILE * str
case H5G_CACHED_SLINK:
HDfprintf (stream, "Symbolic Link\n");
- HDfprintf(stream, "%*s%-*s ", indent, "", fwidth,
- "Cached information:\n");
+ HDfprintf(stream, "%*s%-*s\n", indent, "", fwidth,
+ "Cached information:");
HDfprintf (stream, "%*s%-*s %lu\n", nested_indent, "", nested_fwidth,
"Link value offset:",
(unsigned long)(ent->cache.slink.lval_offset));