Cleanup Operator padding

This commit is contained in:
Schmoozerd 2012-07-20 17:38:23 +02:00
parent 9141299127
commit e32b9953a1
264 changed files with 6715 additions and 6715 deletions

View file

@ -36,7 +36,7 @@ void SQLStorage::EraseEntry(uint32 id)
case FT_STRING:
{
if (pIndex[id])
delete [] *(char**)((char*)(pIndex[id])+offset);
delete [] *(char**)((char*)(pIndex[id]) + offset);
offset += sizeof(char*);
break;
@ -81,7 +81,7 @@ void SQLStorage::Free()
{
for (uint32 y = 0; y < MaxEntry; ++y)
if (pIndex[y])
delete [] *(char**)((char*)(pIndex[y])+offset);
delete [] *(char**)((char*)(pIndex[y]) + offset);
offset += sizeof(char*);
break;