diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-08-19 21:36:03 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-08-19 21:36:03 (GMT) |
commit | fcb21bb3dde491209881dc99eb0adc9198f21452 (patch) | |
tree | 13b7c21f12dafe59ccece140695a2f561f98f1fe /src/H5checksum.c | |
parent | b503983d858b4c42ed60ec1275e45a807b6b1198 (diff) | |
parent | cd7ba8ad55e7432bba2e778b6ffdceb7e8293907 (diff) | |
download | hdf5-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/H5checksum.c')
-rw-r--r-- | src/H5checksum.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5checksum.c b/src/H5checksum.c index ec8b2b0..48e4ce5 100644 --- a/src/H5checksum.c +++ b/src/H5checksum.c @@ -422,6 +422,8 @@ H5_checksum_lookup3(const void *key, size_t length, uint32_t initval) case 1 : a+=k[0]; break; case 0 : goto done; + default: + HDassert(0 && "This Should never be executed!"); } H5_lookup3_final(a, b, c); |