diff options
author | Torbjörn Andersson | 2017-09-11 06:48:34 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2017-09-11 06:48:34 +0200 |
commit | 59f8e62adf89af283d4dfa636d8981e59d34fc6f (patch) | |
tree | f68c01cd8822161c1853713e4188bbc22dfbd17d /video | |
parent | b8f89a772e76b642af43a4d6fe173be1de79cadd (diff) | |
download | scummvm-rg350-59f8e62adf89af283d4dfa636d8981e59d34fc6f.tar.gz scummvm-rg350-59f8e62adf89af283d4dfa636d8981e59d34fc6f.tar.bz2 scummvm-rg350-59f8e62adf89af283d4dfa636d8981e59d34fc6f.zip |
JANITORIAL: Silence GCC 7 warnings
These fall throughs have to be deliberate, or they wouldn't have to
check if mode equals 2 in the mode == 2 cases.
Diffstat (limited to 'video')
-rw-r--r-- | video/bink_decoder.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/bink_decoder.cpp b/video/bink_decoder.cpp index 8cbde8c849..7f2bedfbf4 100644 --- a/video/bink_decoder.cpp +++ b/video/bink_decoder.cpp @@ -1111,6 +1111,7 @@ void BinkDecoder::BinkVideoTrack::readDCTCoeffs(VideoFrame &video, int16 *block, case 0: coefList[listPos] = ccoef + 4; modeList[listPos] = 1; + // fall through case 2: if (mode == 2) { coefList[listPos] = 0; @@ -1218,6 +1219,7 @@ void BinkDecoder::BinkVideoTrack::readResidue(VideoFrame &video, int16 *block, i case 0: coefList[listPos] = ccoef + 4; modeList[listPos] = 1; + // fall through case 2: if (mode == 2) { coefList[listPos] = 0; |