summaryrefslogtreecommitdiffstats
path: root/src/H5Gent.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-22 19:56:03 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-22 19:56:03 (GMT)
commitedf124f40bc52044ba7f020225029d05190ffd39 (patch)
tree81bf09fb5119841275312c0d19523e6eef517f8c /src/H5Gent.c
parent249acc03550e9cb2ed3cfaa56737215910a7a194 (diff)
downloadhdf5-edf124f40bc52044ba7f020225029d05190ffd39.zip
hdf5-edf124f40bc52044ba7f020225029d05190ffd39.tar.gz
hdf5-edf124f40bc52044ba7f020225029d05190ffd39.tar.bz2
[svn-r18616] Description:
Clean up compiler warnings. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (too minor to require h5committest)
Diffstat (limited to 'src/H5Gent.c')
-rw-r--r--src/H5Gent.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/H5Gent.c b/src/H5Gent.c
index 8e87995..69037d4 100644
--- a/src/H5Gent.c
+++ b/src/H5Gent.c
@@ -129,6 +129,8 @@ H5G_ent_decode(const H5F_t *f, const uint8_t **pp, H5G_entry_t *ent)
UINT32DECODE(*pp, ent->cache.slink.lval_offset);
break;
+ case H5G_CACHED_ERROR:
+ case H5G_NCACHED:
default:
HGOTO_ERROR(H5E_SYM, H5E_BADVALUE, FAIL, "unknown symbol table entry cache type")
} /* end switch */
@@ -232,6 +234,8 @@ H5G_ent_encode(const H5F_t *f, uint8_t **pp, const H5G_entry_t *ent)
UINT32ENCODE(*pp, ent->cache.slink.lval_offset);
break;
+ case H5G_CACHED_ERROR:
+ case H5G_NCACHED:
default:
HGOTO_ERROR(H5E_SYM, H5E_BADVALUE, FAIL, "unknown symbol table entry cache type")
} /* end switch */
@@ -393,6 +397,9 @@ H5G_ent_convert(H5F_t *f, hid_t dxpl_id, H5HL_t *heap, const char *name,
} /* end case */
break;
+ case H5L_TYPE_ERROR:
+ case H5L_TYPE_EXTERNAL:
+ case H5L_TYPE_MAX:
default:
HGOTO_ERROR(H5E_SYM, H5E_BADVALUE, FAIL, "unrecognized link type")
} /* end switch */
@@ -471,6 +478,8 @@ H5G_ent_debug(const H5G_entry_t *ent, FILE *stream, int indent, int fwidth,
HDfprintf(stream, "%*s%-*s\n", nested_indent, "", nested_fwidth, "Warning: Invalid heap address given, name not displayed!");
break;
+ case H5G_CACHED_ERROR:
+ case H5G_NCACHED:
default:
HDfprintf(stream, "*** Unknown symbol type %d\n", ent->type);
break;