aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-02-25 23:03:56 +0100
committerStrangerke2014-02-25 23:04:42 +0100
commit227d80e0fdfb12f2416a5e738e19b572c51fe3d9 (patch)
tree78230d971289ed6196a88d873f45f534a8326c73 /engines
parent0e17b464ca620931f43be55fdfdbc0a0fb78cb7b (diff)
downloadscummvm-rg350-227d80e0fdfb12f2416a5e738e19b572c51fe3d9.tar.gz
scummvm-rg350-227d80e0fdfb12f2416a5e738e19b572c51fe3d9.tar.bz2
scummvm-rg350-227d80e0fdfb12f2416a5e738e19b572c51fe3d9.zip
VOYEUR: Add some details about unused variables, initialize some variables
Diffstat (limited to 'engines')
-rw-r--r--engines/voyeur/animation.cpp13
-rw-r--r--engines/voyeur/animation.h6
2 files changed, 16 insertions, 3 deletions
diff --git a/engines/voyeur/animation.cpp b/engines/voyeur/animation.cpp
index 82cddc258f..6c0a96faf2 100644
--- a/engines/voyeur/animation.cpp
+++ b/engines/voyeur/animation.cpp
@@ -153,6 +153,19 @@ RL2Decoder::SoundFrame::SoundFrame(int offset, int size) {
RL2Decoder::RL2FileHeader::RL2FileHeader() {
_frameOffsets = nullptr;
_frameSoundSizes = nullptr;
+
+ _channels = 0;
+ _colorCount = 0;
+ _numFrames = 0;
+ _rate = 0;
+ _soundRate = 0;
+ _videoBase = 0;
+ _backSize = 0;
+ _signature = MKTAG('N', 'O', 'N', 'E');
+ _form = 0;
+ _dataSize = 0;
+ _method = 0;
+ _defSoundSize = 0;
}
RL2Decoder::RL2FileHeader::~RL2FileHeader() {
diff --git a/engines/voyeur/animation.h b/engines/voyeur/animation.h
index 01d4282f92..dcdbf36260 100644
--- a/engines/voyeur/animation.h
+++ b/engines/voyeur/animation.h
@@ -69,9 +69,9 @@ private:
bool isValid() const;
private:
- uint32 _form;
- uint32 _dataSize;
- int _method;
+ uint32 _form; // Unused variable
+ uint32 _dataSize; // Unused variable
+ int _method; // Unused variable
int _defSoundSize;
};