aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2013-04-18 20:22:19 +0200
committerMax Horn2013-04-18 23:50:20 +0200
commit8b602816f4d9f73392136b8371914e5937f88385 (patch)
tree03136d2b785620109158cf1ed3f8bc6304f6e53d
parent814aa2e8b764c742d1677b6d79b48849d22aafae (diff)
downloadscummvm-rg350-8b602816f4d9f73392136b8371914e5937f88385.tar.gz
scummvm-rg350-8b602816f4d9f73392136b8371914e5937f88385.tar.bz2
scummvm-rg350-8b602816f4d9f73392136b8371914e5937f88385.zip
AUDIO: Remove unused MixerImpl::_syst member var
-rw-r--r--audio/mixer.cpp4
-rw-r--r--audio/mixer_intern.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/audio/mixer.cpp b/audio/mixer.cpp
index 965766170d..5ea05174eb 100644
--- a/audio/mixer.cpp
+++ b/audio/mixer.cpp
@@ -171,9 +171,9 @@ private:
#pragma mark --- Mixer ---
#pragma mark -
-
+// TODO: parameter "system" is unused
MixerImpl::MixerImpl(OSystem *system, uint sampleRate)
- : _syst(system), _mutex(), _sampleRate(sampleRate), _mixerReady(false), _handleSeed(0), _soundTypeSettings() {
+ : _mutex(), _sampleRate(sampleRate), _mixerReady(false), _handleSeed(0), _soundTypeSettings() {
assert(sampleRate > 0);
diff --git a/audio/mixer_intern.h b/audio/mixer_intern.h
index c6dfa55ada..fce13a9812 100644
--- a/audio/mixer_intern.h
+++ b/audio/mixer_intern.h
@@ -54,7 +54,6 @@ private:
NUM_CHANNELS = 16
};
- OSystem *_syst;
Common::Mutex _mutex;
const uint _sampleRate;