Patch for issue found by Carlo Kok. Fixed a type issue where an ';' was incorrectly following an if statement. There actually isn't a need for the if statement, so it was removed.

llvm-svn: 167160
This commit is contained in:
Greg Clayton 2012-10-31 19:05:35 +00:00
parent b505d33a5c
commit 4a6591da25
1 changed files with 1 additions and 3 deletions

View File

@ -1713,9 +1713,7 @@ AppleObjCRuntimeV2::GetISAHashTablePointer ()
if (gdb_objc_realized_classes_ptr != LLDB_INVALID_ADDRESS)
{
Error error;
lldb::addr_t ptr = process->ReadPointerFromMemory(gdb_objc_realized_classes_ptr, error);
if (ptr != LLDB_INVALID_ADDRESS);
m_isa_hash_table_ptr = ptr;
m_isa_hash_table_ptr = process->ReadPointerFromMemory(gdb_objc_realized_classes_ptr, error);
}
}
}