Core/Misc: Multiple static analysis issues fixed (small optimizations and clear code)

This commit is contained in:
DDuarte
2014-09-19 03:30:02 +01:00
parent e6b7de8c97
commit cefcde9ba9
40 changed files with 72 additions and 84 deletions

View File

@@ -125,7 +125,7 @@ public:
uint16 counter = 0;
uint16 MapId = 0;
if (strcmp(map, "all"))
if (strcmp(map, "all") != 0)
{
MapId = uint16(atoi(map));
if (!MapId)