From bdc6969ea4982363f5d698f62ee6f0f72a9c6a82 Mon Sep 17 00:00:00 2001 From: Le Philousophe Date: Sun, 5 May 2019 13:21:20 +0200 Subject: CRYOMNI3D: Remove unused private members This should remove LLVM warnings --- engines/cryomni3d/image/codecs/hlz.h | 1 - engines/cryomni3d/video/hnm_decoder.cpp | 4 ++-- engines/cryomni3d/video/hnm_decoder.h | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) (limited to 'engines/cryomni3d') 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]; -- cgit v1.2.3