diff options
author | Max Horn | 2013-12-10 18:34:48 +0100 |
---|---|---|
committer | Max Horn | 2014-03-30 14:38:02 +0200 |
commit | 4d02f67bd1dc3b7fc9eb8729f92a4d5d41a6831a (patch) | |
tree | 244c52e0f31f6d4afbff8ea46c08fc013729874e /engines/lastexpress/data | |
parent | d91c8b9add255828bb363020077d91a49ebe3d99 (diff) | |
download | scummvm-rg350-4d02f67bd1dc3b7fc9eb8729f92a4d5d41a6831a.tar.gz scummvm-rg350-4d02f67bd1dc3b7fc9eb8729f92a4d5d41a6831a.tar.bz2 scummvm-rg350-4d02f67bd1dc3b7fc9eb8729f92a4d5d41a6831a.zip |
ALL: Resolve multiple clang warnings
Diffstat (limited to 'engines/lastexpress/data')
-rw-r--r-- | engines/lastexpress/data/animation.cpp | 2 | ||||
-rw-r--r-- | engines/lastexpress/data/animation.h | 1 | ||||
-rw-r--r-- | engines/lastexpress/data/sequence.cpp | 2 | ||||
-rw-r--r-- | engines/lastexpress/data/sequence.h | 1 |
4 files changed, 2 insertions, 4 deletions
diff --git a/engines/lastexpress/data/animation.cpp b/engines/lastexpress/data/animation.cpp index 9c8cc202aa..148854e04d 100644 --- a/engines/lastexpress/data/animation.cpp +++ b/engines/lastexpress/data/animation.cpp @@ -39,7 +39,7 @@ namespace LastExpress { -Animation::Animation() : _stream(NULL), _currentChunk(NULL), _overlay(NULL), _background1(NULL), _background2(NULL), _backgroundCurrent(0), _audio(NULL), _startTime(0), _changed(false), _flag(0) { +Animation::Animation() : _stream(NULL), _currentChunk(NULL), _overlay(NULL), _background1(NULL), _background2(NULL), _backgroundCurrent(0), _audio(NULL), _startTime(0), _changed(false) { } Animation::~Animation() { diff --git a/engines/lastexpress/data/animation.h b/engines/lastexpress/data/animation.h index 7f6922866a..9523cddb78 100644 --- a/engines/lastexpress/data/animation.h +++ b/engines/lastexpress/data/animation.h @@ -113,7 +113,6 @@ private: uint32 _startTime; bool _changed; - int _flag; }; } // End of namespace LastExpress diff --git a/engines/lastexpress/data/sequence.cpp b/engines/lastexpress/data/sequence.cpp index c7073b560c..f43e2afdef 100644 --- a/engines/lastexpress/data/sequence.cpp +++ b/engines/lastexpress/data/sequence.cpp @@ -76,7 +76,7 @@ void FrameInfo::read(Common::SeekableReadStream *in, bool isSequence) { // AnimFrame -AnimFrame::AnimFrame(Common::SeekableReadStream *in, const FrameInfo &f, bool ignoreSubtype) : _palette(NULL), _ignoreSubtype(ignoreSubtype) { +AnimFrame::AnimFrame(Common::SeekableReadStream *in, const FrameInfo &f, bool /* ignoreSubtype */) : _palette(NULL) { _palSize = 1; // TODO: use just the needed rectangle _image.create(640, 480, Graphics::PixelFormat::createFormatCLUT8()); diff --git a/engines/lastexpress/data/sequence.h b/engines/lastexpress/data/sequence.h index dbb08a0c07..fd8b3cd27b 100644 --- a/engines/lastexpress/data/sequence.h +++ b/engines/lastexpress/data/sequence.h @@ -147,7 +147,6 @@ private: uint16 _palSize; uint16 *_palette; Common::Rect _rect; - bool _ignoreSubtype; }; class Sequence { |