aboutsummaryrefslogtreecommitdiff
path: root/common/EventRecorder.cpp
diff options
context:
space:
mode:
authordhewg2011-03-29 21:55:21 +0200
committerdhewg2011-03-29 21:57:56 +0200
commitd83a83ef5021c1e329127d3c6402088aeb1c1dd1 (patch)
tree5ade1c22a76ed8a10fac3d4c488a9866d649508e /common/EventRecorder.cpp
parent8c70f2a58492335e9045c5abfd291887b2d7a339 (diff)
downloadscummvm-rg350-d83a83ef5021c1e329127d3c6402088aeb1c1dd1.tar.gz
scummvm-rg350-d83a83ef5021c1e329127d3c6402088aeb1c1dd1.tar.bz2
scummvm-rg350-d83a83ef5021c1e329127d3c6402088aeb1c1dd1.zip
JANITORIAL: Remove/comment unused vars
Found by GCC 4.6's -Wunused-but-set-variable
Diffstat (limited to 'common/EventRecorder.cpp')
-rw-r--r--common/EventRecorder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/EventRecorder.cpp b/common/EventRecorder.cpp
index 07a651be65..d61fe0fe45 100644
--- a/common/EventRecorder.cpp
+++ b/common/EventRecorder.cpp
@@ -144,7 +144,7 @@ void EventRecorder::init() {
}
uint32 sign;
- uint32 version;
+ //uint32 version;
uint32 randomSourceCount;
if (_recordMode == kRecorderPlayback) {
_playbackCount = 0;
@@ -168,7 +168,7 @@ void EventRecorder::init() {
if (sign != RECORD_SIGNATURE) {
error("Unknown record file signature");
}
- version = _playbackFile->readUint32LE();
+ //version = _playbackFile->readUint32LE();
// conf vars
ConfMan.setBool("subtitles", _playbackFile->readByte() != 0);