[Scummvm-cvs-logs] scummvm master -> 4182bdbd5290b8c8a3468b8a9ffc6e81d4bc05e9
wjp
wjp at usecode.org
Sat Feb 11 22:55:41 CET 2012
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4182bdbd52 GRAPHICS: Remove unused variable
Commit: 4182bdbd5290b8c8a3468b8a9ffc6e81d4bc05e9
https://github.com/scummvm/scummvm/commit/4182bdbd5290b8c8a3468b8a9ffc6e81d4bc05e9
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2012-02-11T13:54:36-08:00
Commit Message:
GRAPHICS: Remove unused variable
Changed paths:
graphics/pict.cpp
diff --git a/graphics/pict.cpp b/graphics/pict.cpp
index ef26293..872f2f2 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);
More information about the Scummvm-git-logs
mailing list