aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2016-01-01 04:24:17 +0100
committerStrangerke2016-01-01 04:25:26 +0100
commit92f3a9f4824c89e4f300d561f1d48ac6f02e0b00 (patch)
tree1885b471ed46c47bcbb69ce5d330a70a5bc1798a
parent131d2f73e0781c5fd578968fa377a24b3a5f7b2a (diff)
downloadscummvm-rg350-92f3a9f4824c89e4f300d561f1d48ac6f02e0b00.tar.gz
scummvm-rg350-92f3a9f4824c89e4f300d561f1d48ac6f02e0b00.tar.bz2
scummvm-rg350-92f3a9f4824c89e4f300d561f1d48ac6f02e0b00.zip
TONY: Remove an unused variable
-rw-r--r--engines/tony/sound.cpp3
-rw-r--r--engines/tony/sound.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/engines/tony/sound.cpp b/engines/tony/sound.cpp
index 88379baf15..faf91c1fc5 100644
--- a/engines/tony/sound.cpp
+++ b/engines/tony/sound.cpp
@@ -468,9 +468,6 @@ bool FPStream::loadFile(const Common::String &fileName, int bufSize) {
if (_fileLoaded)
unloadFile();
- // Save the codec type
- _codec = FPCODEC_ADPCM;
-
// Open the file stream for reading
if (!_file.open(fileName)) {
// Fallback: try with an extra '0' prefix
diff --git a/engines/tony/sound.h b/engines/tony/sound.h
index 6aa4ae9496..2ea1162d98 100644
--- a/engines/tony/sound.h
+++ b/engines/tony/sound.h
@@ -246,7 +246,6 @@ class FPStream {
private:
uint32 _bufferSize; // Buffer size (bytes)
uint32 _size; // Stream size (bytes)
- uint32 _codec; // CODEC used
Common::File _file; // File handle used for the stream