diff options
author | D G Turner | 2017-01-12 03:27:36 +0000 |
---|---|---|
committer | D G Turner | 2017-01-12 03:27:36 +0000 |
commit | b914aa88612bf64055609de7ca7bfd9dd0b49714 (patch) | |
tree | 796f0dbbd47c768c8bebd8c3849a13b5c183fea7 /engines/director/frame.cpp | |
parent | 1e47d4a13c591b35ebee848aeb9e7cfc41a8b67f (diff) | |
download | scummvm-rg350-b914aa88612bf64055609de7ca7bfd9dd0b49714.tar.gz scummvm-rg350-b914aa88612bf64055609de7ca7bfd9dd0b49714.tar.bz2 scummvm-rg350-b914aa88612bf64055609de7ca7bfd9dd0b49714.zip |
DIRECTOR: Fix Further Compiler Warnings.
Diffstat (limited to 'engines/director/frame.cpp')
-rw-r--r-- | engines/director/frame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index a4b3b6abd1..ffe004f7a2 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -541,8 +541,8 @@ void Frame::renderSprites(Graphics::ManagedSurface &surface, bool renderTrail) { if ((_sprites[i]->_trails == 0 && renderTrail) || (_sprites[i]->_trails == 1 && !renderTrail)) continue; - CastType castType; - Cast *cast; + CastType castType = kCastTypeNull; + Cast *cast = nullptr; if (_vm->getVersion() < 4) { switch (_sprites[i]->_spriteType) { case 0x01: |