aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorEugene Sandulenko2013-07-14 18:55:38 +0300
committerEugene Sandulenko2013-07-14 19:03:29 +0300
commitaaaf466c7122f6c595d86a0145b1f0472c8b6d31 (patch)
treeec9b9749e35af1c12e4c219b86d09d62f065763f /common
parentcddf49994236a8dc9ad985b10a663af3f2dc1657 (diff)
downloadscummvm-rg350-aaaf466c7122f6c595d86a0145b1f0472c8b6d31.tar.gz
scummvm-rg350-aaaf466c7122f6c595d86a0145b1f0472c8b6d31.tar.bz2
scummvm-rg350-aaaf466c7122f6c595d86a0145b1f0472c8b6d31.zip
RECORDER: Fix CID 1046886. Uninit class variables.
Diffstat (limited to 'common')
-rw-r--r--common/recorderfile.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/recorderfile.cpp b/common/recorderfile.cpp
index 60c47e11ce..e6838ed02e 100644
--- a/common/recorderfile.cpp
+++ b/common/recorderfile.cpp
@@ -39,6 +39,12 @@ PlaybackFile::PlaybackFile() : _tmpRecordFile(_tmpBuffer, kRecordBuffSize), _tmp
_writeStream = NULL;
_screenshotsFile = NULL;
_mode = kClosed;
+
+ _recordFile = 0;
+ _headerDumped = false;
+ _recordCount = 0;
+ _eventsSize = 0;
+ memset(_tmpBuffer, kRecordBuffSize, 1);
}
PlaybackFile::~PlaybackFile() {