diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2015-11-18 15:32:28 -0500 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2015-11-18 15:32:28 -0500 |
| commit | 6ac1e46a1fb01f01705b67dd553d5ba317b1dc3e (patch) | |
| tree | f0d873d0b377a91dce5ee384e60426ef57efc92b /adler32.cpp | |
| parent | d2fda9bd4231a7dfcb44e59150f11246d992843f (diff) | |
| download | cryptopp-git-6ac1e46a1fb01f01705b67dd553d5ba317b1dc3e.tar.gz | |
Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup)
Diffstat (limited to 'adler32.cpp')
| -rw-r--r-- | adler32.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/adler32.cpp b/adler32.cpp index 22702027..54cf892b 100644 --- a/adler32.cpp +++ b/adler32.cpp @@ -61,14 +61,19 @@ void Adler32::TruncatedFinal(byte *hash, size_t size) {
default:
hash[3] = byte(m_s1);
+ // fall through
case 3:
hash[2] = byte(m_s1 >> 8);
+ // fall through
case 2:
hash[1] = byte(m_s2);
+ // fall through
case 1:
hash[0] = byte(m_s2 >> 8);
+ // fall through
case 0:
- ;
+ ;;
+ // fall through
}
Reset();
|
