diff options
author | Filippos Karapetis | 2013-10-31 04:00:43 +0200 |
---|---|---|
committer | Filippos Karapetis | 2013-10-31 04:00:43 +0200 |
commit | 1c8b4d31d0e2076b67c21a566f977345edc44253 (patch) | |
tree | f7e62bd84d393161b0fd06dd3151933c650dcd67 /engines/zvision/lever_control.cpp | |
parent | 2ed7d7ab4d4c3de6d13bc87f024ca3ac03603b86 (diff) | |
download | scummvm-rg350-1c8b4d31d0e2076b67c21a566f977345edc44253.tar.gz scummvm-rg350-1c8b4d31d0e2076b67c21a566f977345edc44253.tar.bz2 scummvm-rg350-1c8b4d31d0e2076b67c21a566f977345edc44253.zip |
ZVISION: Silence some false positive warnings in MSVC
Diffstat (limited to 'engines/zvision/lever_control.cpp')
-rw-r--r-- | engines/zvision/lever_control.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/zvision/lever_control.cpp b/engines/zvision/lever_control.cpp index 79049b8fcb..557dec0a83 100644 --- a/engines/zvision/lever_control.cpp +++ b/engines/zvision/lever_control.cpp @@ -377,11 +377,11 @@ void LeverControl::renderFrame(uint frameNumber) { _lastRenderedFrame = frameNumber; } - const uint16 *frameData; + const uint16 *frameData = 0; int x = _animationCoords.left; int y = _animationCoords.top; - int width; - int height; + int width = 0; + int height = 0; if (_fileType == RLF) { // getFrameData() will automatically optimize to getNextFrame() / getPreviousFrame() if it can |