diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-08-22 13:50:21 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-08-22 13:50:21 (GMT) |
commit | b8745fce87e0f7024ab51aef1bab1bb3aae5acd2 (patch) | |
tree | 28b6eb89efcc6229afb94a82ba8fcb4ec3620538 /src/H5SL.c | |
parent | d283a83a49a7e44a941268feb08eba241b571831 (diff) | |
download | hdf5-b8745fce87e0f7024ab51aef1bab1bb3aae5acd2.zip hdf5-b8745fce87e0f7024ab51aef1bab1bb3aae5acd2.tar.gz hdf5-b8745fce87e0f7024ab51aef1bab1bb3aae5acd2.tar.bz2 |
[svn-r24054] merge r 24027 from trunk.
This is the fix for "switch missing default case" warnings in src.
Mohamad & Vailin worked on this patch.
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 */ |