summaryrefslogtreecommitdiffstats
path: root/src/H5Gent.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-22 20:04:44 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-22 20:04:44 (GMT)
commit683d60460a94869225094b4efc824258c5b0dcd3 (patch)
tree92f6400d0c7f80046231ad46048227cdf4940a34 /src/H5Gent.c
parentcacfe71beb159fc44df256f641d4faac594c802e (diff)
downloadhdf5-683d60460a94869225094b4efc824258c5b0dcd3.zip
hdf5-683d60460a94869225094b4efc824258c5b0dcd3.tar.gz
hdf5-683d60460a94869225094b4efc824258c5b0dcd3.tar.bz2
[svn-r18617] Description:
Bring r18616 from trunk to 1.8 branch: 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;