Core/: Fix warnings

--HG--
branch : trunk
This commit is contained in:
Spp committed 2010-09-21 10:11:25 +02:00
1 parent 63aa6e44fb
commit 7a3fd2e9bf
6 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -1689,7 +1689,7 @@ valid examples:
bool foundName = false;
for (uint8 dbIndex = LOCALE_koKR; dbIndex < MAX_LOCALE; ++dbIndex)
{
if (dbIndex == -1 || il == NULL || uint8(dbIndex) >= il->Name.size())
if (il == NULL || dbIndex >= il->Name.size())
// using strange database/client combinations can lead to this case
expectedName = linkedItem->Name1;
else