flint++ static analyzer detected items (not all that were likely legit positives, but a start) as well as some clang detected unused vars, cleanup_

This commit is contained in:
DarthArgus
2016-02-18 22:56:34 -06:00
parent 13019a2b14
commit 3c50042abc
29 changed files with 20 additions and 358 deletions
@@ -88,10 +88,6 @@ namespace TargaFormatNamespace
#pragma pack(pop)
#endif
const uint ms_attributeMask = BINARY2(0000,1111);
const uint ms_xOriginLocationMask = BINARY2(0001,0000);
const uint ms_yOriginLocationMask = BINARY2(0010,0000);
static bool _loadImage(AbstractFile *, Image **image, Image::PixelFormat format=Image::PF_nonStandard);
static void _readUncompressedColorMapped1(