From ecb47bc2dc4b879d716ce0d54656736b0565abf7 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 6 Jan 2016 13:21:47 +0100 Subject: [PATCH] Changed: Remove unused variable --HG-- branch : develop --- code/nel/src/misc/bitmap.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/nel/src/misc/bitmap.cpp b/code/nel/src/misc/bitmap.cpp index 00cf7c293..60ca9a752 100644 --- a/code/nel/src/misc/bitmap.cpp +++ b/code/nel/src/misc/bitmap.cpp @@ -2376,7 +2376,6 @@ uint8 CBitmap::readTGA( NLMISC::IStream &f) if(!f.isReading()) return 0; - uint32 size; uint32 x,y; sint32 slsize; uint8 *scanline; @@ -2452,7 +2451,6 @@ uint8 CBitmap::readTGA( NLMISC::IStream &f) _Width = width; _Height = height; - size = _Width * _Height * (imageDepth/8); switch(imageType) {