From 0791aa77daffd5b8e559c43d0d65f5b317d0fc36 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 2 Jan 2016 22:23:04 +0100 Subject: [PATCH] Changed: Unused code --- code/nel/src/misc/bitmap.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/code/nel/src/misc/bitmap.cpp b/code/nel/src/misc/bitmap.cpp index 2d92cd354..107f79e55 100644 --- a/code/nel/src/misc/bitmap.cpp +++ b/code/nel/src/misc/bitmap.cpp @@ -2163,13 +2163,11 @@ uint8 CBitmap::readTGA( NLMISC::IStream &f) // Determining whether file is in Original or New TGA format - bool newTgaFormat; uint32 extAreaOffset; uint32 devDirectoryOffset; char signature[16]; f.seek (0, f.end); - newTgaFormat = false; if (f.getPos() >= 26) { f.seek (-26, f.end); @@ -2179,8 +2177,6 @@ uint8 CBitmap::readTGA( NLMISC::IStream &f) { f.serial(signature[i]); } - if(strncmp(signature,"TRUEVISION-XFILE",16)==0) - newTgaFormat = true; }