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

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

No files matched your search

+1 -1
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)