Changed: Remove unused variable

This commit is contained in:
kervala 2016-01-06 13:21:47 +01:00
parent b03f60bbf2
commit 7fc5e0fa1b

View file

@ -2376,7 +2376,6 @@ uint8 CBitmap::readTGA( NLMISC::IStream &f)
if(!f.isReading()) return 0; if(!f.isReading()) return 0;
uint32 size;
uint32 x,y; uint32 x,y;
sint32 slsize; sint32 slsize;
uint8 *scanline; uint8 *scanline;
@ -2452,7 +2451,6 @@ uint8 CBitmap::readTGA( NLMISC::IStream &f)
_Width = width; _Width = width;
_Height = height; _Height = height;
size = _Width * _Height * (imageDepth/8);
switch(imageType) switch(imageType)
{ {