Core/Misc: Refactor scripts to fix static analysis warnings

First batch of fixes targeting 100 issues reported by Coverity
This commit is contained in:
jackpoz committed 2014-08-31 20:42:02 +02:00
1 parent 681cf8f27c
commit dd4dbdcd16
45 files changed
+1150 -450

No files matched your search

+1
View File
@@ -143,6 +143,7 @@ Vec3D fixCoordSystem2(Vec3D v)
}
ModelInstance::ModelInstance(MPQFile& f, char const* ModelInstName, uint32 mapID, uint32 tileX, uint32 tileY, FILE *pDirfile)
: scale(0), flags(0)
{
float ff[3];
f.read(&id, 4);