Commit e10a23ca authored by Boudewijn Rempt's avatar Boudewijn Rempt

warning--: unused variable

parent 45e7ef85
......@@ -73,7 +73,7 @@ bool QGIFLibHandler::read ( QImage * image )
GifRecordType recordType;
ColorMapObject* ColorMap;
int i, row, imageNum = 0, topRow, leftCol, width, height;
int i, row, imageNum = 0, topRow, width, height;
int transColor = -1;
do
{
......@@ -87,10 +87,9 @@ bool QGIFLibHandler::read ( QImage * image )
return false;
}
topRow = gifFile->Image.Top; /* Image Position relative to Screen. */
leftCol = gifFile->Image.Left;
width = gifFile->Image.Width;
height = gifFile->Image.Height;
//qDebug("Image %d at (%d, %d) [%dx%d]", ++imageNum, leftCol, topRow, width, height);
//qDebug("Image %d at (%d, %d) [%dx%d]", ++imageNum, gifFile->Image.Left, topRow, width, height);
if (gifFile->Image.Left + width > gifFile->SWidth ||
gifFile->Image.Top + height > gifFile->SHeight)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment