aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d
diff options
context:
space:
mode:
authorLe Philousophe2019-05-05 13:21:20 +0200
committerEugene Sandulenko2019-06-01 22:43:48 +0200
commitbdc6969ea4982363f5d698f62ee6f0f72a9c6a82 (patch)
treec06a63173db9c2c1288169811a4b3af3a446a5eb /engines/cryomni3d
parentadf6ab006cc7b2031f428cf166d0aeaebd3342b7 (diff)
downloadscummvm-rg350-bdc6969ea4982363f5d698f62ee6f0f72a9c6a82.tar.gz
scummvm-rg350-bdc6969ea4982363f5d698f62ee6f0f72a9c6a82.tar.bz2
scummvm-rg350-bdc6969ea4982363f5d698f62ee6f0f72a9c6a82.zip
CRYOMNI3D: Remove unused private members
This should remove LLVM warnings
Diffstat (limited to 'engines/cryomni3d')
-rw-r--r--engines/cryomni3d/image/codecs/hlz.h1
-rw-r--r--engines/cryomni3d/video/hnm_decoder.cpp4
-rw-r--r--engines/cryomni3d/video/hnm_decoder.h2
3 files changed, 2 insertions, 5 deletions
diff --git a/engines/cryomni3d/image/codecs/hlz.h b/engines/cryomni3d/image/codecs/hlz.h
index 4ec8d3e0f1..d8edc63af9 100644
--- a/engines/cryomni3d/image/codecs/hlz.h
+++ b/engines/cryomni3d/image/codecs/hlz.h
@@ -45,7 +45,6 @@ public:
private:
Graphics::Surface *_surface;
int _width, _height;
- int _bitsPerPixel;
};
} // End of namespace Image
diff --git a/engines/cryomni3d/video/hnm_decoder.cpp b/engines/cryomni3d/video/hnm_decoder.cpp
index 1e52744c59..355345beaa 100644
--- a/engines/cryomni3d/video/hnm_decoder.cpp
+++ b/engines/cryomni3d/video/hnm_decoder.cpp
@@ -337,8 +337,8 @@ void HNMDecoder::HNM4VideoTrack::decodeIntraframe(Common::SeekableReadStream *st
}
HNMDecoder::DPCMAudioTrack::DPCMAudioTrack(uint16 channels, uint16 bits, unsigned int sampleRate,
- Audio::Mixer::SoundType soundType) : AudioTrack(soundType), _channels(channels), _bits(bits),
- _audioStream(nullptr), _gotLUT(false), _lastSample(0) {
+ Audio::Mixer::SoundType soundType) : AudioTrack(soundType), _audioStream(nullptr),
+ _gotLUT(false), _lastSample(0) {
if (bits != 16) {
error("Unsupported audio bits");
}
diff --git a/engines/cryomni3d/video/hnm_decoder.h b/engines/cryomni3d/video/hnm_decoder.h
index 681dd87e4b..b09026b674 100644
--- a/engines/cryomni3d/video/hnm_decoder.h
+++ b/engines/cryomni3d/video/hnm_decoder.h
@@ -106,8 +106,6 @@ private:
protected:
Audio::AudioStream *getAudioStream() const { return _audioStream; }
private:
- uint16 _channels;
- uint16 _bits;
Audio::QueuingAudioStream *_audioStream;
bool _gotLUT;
uint16 _lut[256];