summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2013-08-19 21:36:03 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2013-08-19 21:36:03 (GMT)
commitfcb21bb3dde491209881dc99eb0adc9198f21452 (patch)
tree13b7c21f12dafe59ccece140695a2f561f98f1fe /src/H5Shyper.c
parentb503983d858b4c42ed60ec1275e45a807b6b1198 (diff)
parentcd7ba8ad55e7432bba2e778b6ffdceb7e8293907 (diff)
downloadhdf5-fcb21bb3dde491209881dc99eb0adc9198f21452.zip
hdf5-fcb21bb3dde491209881dc99eb0adc9198f21452.tar.gz
hdf5-fcb21bb3dde491209881dc99eb0adc9198f21452.tar.bz2
[svn-r24027] merge r 23938 from reduce warnings branch into trunk.
This is the fix for "switch missing default case" warnings in src. Mohamad & Vailin worked on this patch.
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r--src/H5Shyper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index d88ac35..f8d87e4 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -8249,6 +8249,9 @@ loc += fast_dim_buf_off;
duffs_index = (fast_dim_count + 7) / 8;
switch (fast_dim_count % 8) {
+ default:
+ HDassert(0 && "This Should never be executed!");
+ break;
case 0:
do
{