diff options
author | D G Turner | 2019-11-09 17:54:34 +0000 |
---|---|---|
committer | D G Turner | 2019-11-09 17:54:34 +0000 |
commit | 3544fe355ab8247101325264d92029e872ddc54c (patch) | |
tree | c21b3443209c37e6ee43f2fd7fa76ab2b20e9909 /engines/tucker/sequences.cpp | |
parent | c0ed6eabd4b70e799cd50b1ab2593224d69119f1 (diff) | |
download | scummvm-rg350-3544fe355ab8247101325264d92029e872ddc54c.tar.gz scummvm-rg350-3544fe355ab8247101325264d92029e872ddc54c.tar.bz2 scummvm-rg350-3544fe355ab8247101325264d92029e872ddc54c.zip |
TUCKER: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/tucker/sequences.cpp')
-rw-r--r-- | engines/tucker/sequences.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/tucker/sequences.cpp b/engines/tucker/sequences.cpp index 557b2c84b4..a9234814d0 100644 --- a/engines/tucker/sequences.cpp +++ b/engines/tucker/sequences.cpp @@ -142,6 +142,8 @@ void TuckerEngine::handleCreditsSequence() { case 5: filename = "loc78.pcx"; break; + default: + break; } if (!filename.empty()) loadImage(filename.c_str(), _quadBackgroundGfxBuf, 2); @@ -534,6 +536,8 @@ void AnimationSequencePlayer::mainLoop() { case kFirstAnimationSequenceGame: _updateFunc = _gameSeqUpdateFuncs; break; + default: + break; } _updateFuncIndex = 0; _changeToNextSequence = true; @@ -623,6 +627,8 @@ Audio::RewindableAudioStream *AnimationSequencePlayer::loadSound(int index, Anim case kAnimationSoundTypeWAV: stream = Audio::makeWAVStream(&f, DisposeAfterUse::NO); break; + default: + break; } } |