diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-07-26 17:28:26 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-07-26 17:28:26 (GMT) |
commit | 69e501fc70450eec20b5f20a248467347b69547c (patch) | |
tree | 7b2b7aff20195e9ec3285db688aa991def2dd31a /src/H5SL.c | |
parent | cb41664db2fdfb7da5cc754a0119364741d0dae4 (diff) | |
download | hdf5-69e501fc70450eec20b5f20a248467347b69547c.zip hdf5-69e501fc70450eec20b5f20a248467347b69547c.tar.gz hdf5-69e501fc70450eec20b5f20a248467347b69547c.tar.bz2 |
[svn-r23938] remove "switch missing default case" in src.
Diffstat (limited to 'src/H5SL.c')
-rw-r--r-- | src/H5SL.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1668,6 +1668,9 @@ H5SL_below(H5SL_t *slist, const void *key) case H5SL_TYPE_GENERIC: H5SL_FIND(GENERIC, slist, x, const void, key, -) break; + + default: + HDassert(0 && "Unknown skiplist type!"); } /* end switch */ /* An exact match for 'key' must not have been found in list, if we get here */ @@ -1767,6 +1770,9 @@ H5SL_above(H5SL_t *slist, const void *key) case H5SL_TYPE_GENERIC: H5SL_FIND(GENERIC, slist, x, const void, key, -) break; + + default: + HDassert(0 && "Unknown skiplist type!"); } /* end switch */ /* An exact match for 'key' must not have been found in list, if we get here */ |