aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2012-02-11 22:54:36 +0100
committerWillem Jan Palenstijn2012-02-11 22:54:36 +0100
commit4182bdbd5290b8c8a3468b8a9ffc6e81d4bc05e9 (patch)
tree138f7abfeda7231d5016eb0427b1a82d8b42c6c5
parentcd1ea99f0e77a8e9404f2d51d6810345a8a28c41 (diff)
downloadscummvm-rg350-4182bdbd5290b8c8a3468b8a9ffc6e81d4bc05e9.tar.gz
scummvm-rg350-4182bdbd5290b8c8a3468b8a9ffc6e81d4bc05e9.tar.bz2
scummvm-rg350-4182bdbd5290b8c8a3468b8a9ffc6e81d4bc05e9.zip
GRAPHICS: Remove unused variable
-rw-r--r--graphics/pict.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/graphics/pict.cpp b/graphics/pict.cpp
index ef262931b2..872f2f224a 100644
--- a/graphics/pict.cpp
+++ b/graphics/pict.cpp
@@ -466,7 +466,6 @@ void PictDecoder::skipBitsRect(Common::SeekableReadStream *stream, bool hasPalet
stream->readUint16BE();
uint16 packType;
- uint16 pixelSize; // FIXME: unused
// Top two bits signify PixMap vs BitMap
if (rowBytes & 0xC000) {
@@ -474,7 +473,7 @@ void PictDecoder::skipBitsRect(Common::SeekableReadStream *stream, bool hasPalet
stream->readUint16BE();
packType = stream->readUint16BE();
stream->skip(14);
- pixelSize = stream->readUint16BE();
+ stream->readUint16BE(); // pixelSize
stream->skip(16);
if (hasPalette) {
@@ -487,7 +486,6 @@ void PictDecoder::skipBitsRect(Common::SeekableReadStream *stream, bool hasPalet
} else {
// BitMap
packType = 0;
- pixelSize = 1;
}
stream->skip(18);