diff options
| author | Greg Clayton <gclayton@apple.com> | 2012-10-31 19:05:35 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2012-10-31 19:05:35 +0000 |
| commit | 4a6591da2589a1d0b3fdb5c40622a37a74103915 (patch) | |
| tree | 7459f83f376367b18ef3e2fd9e4bc5c6910c1e89 | |
| parent | b505d33a5c4b36238be2e511d1ca68f01e005a9e (diff) | |
| download | bcm5719-llvm-4a6591da2589a1d0b3fdb5c40622a37a74103915.tar.gz bcm5719-llvm-4a6591da2589a1d0b3fdb5c40622a37a74103915.zip | |
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
| -rw-r--r-- | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp index 1b4c0ad39e6..4b13cba5bb6 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -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); } } } |

