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/zvision | |
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/zvision')
-rw-r--r-- | engines/zvision/fonts/truetype_font.cpp | 7 | ||||
-rw-r--r-- | engines/zvision/fonts/truetype_font.h | 6 |
2 files changed, 5 insertions, 8 deletions
diff --git a/engines/zvision/fonts/truetype_font.cpp b/engines/zvision/fonts/truetype_font.cpp index 03520f18b6..ba4d72bde8 100644 --- a/engines/zvision/fonts/truetype_font.cpp +++ b/engines/zvision/fonts/truetype_font.cpp @@ -39,12 +39,9 @@ namespace ZVision { TruetypeFont::TruetypeFont(ZVision *engine, int32 fontHeight) - : _engine(engine), - _fontHeight(fontHeight), + : _fontHeight(fontHeight), _font(0), - _lineHeight(0), - _maxCharWidth(0), - _maxCharHeight(0) { + _lineHeight(0) { } TruetypeFont::~TruetypeFont(void) { diff --git a/engines/zvision/fonts/truetype_font.h b/engines/zvision/fonts/truetype_font.h index 3b5805db14..64f53a2c3b 100644 --- a/engines/zvision/fonts/truetype_font.h +++ b/engines/zvision/fonts/truetype_font.h @@ -43,12 +43,12 @@ public: ~TruetypeFont(); private: - ZVision *_engine; +// ZVision *_engine; Graphics::Font *_font; int _lineHeight; - size_t _maxCharWidth; - size_t _maxCharHeight; +// size_t _maxCharWidth; +// size_t _maxCharHeight; public: int32 _fontHeight; |