From 227d80e0fdfb12f2416a5e738e19b572c51fe3d9 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Tue, 25 Feb 2014 23:03:56 +0100 Subject: VOYEUR: Add some details about unused variables, initialize some variables --- engines/voyeur/animation.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'engines/voyeur/animation.cpp') 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() { -- cgit v1.2.3