Patch for issue found by Carlo Kok. Fixed a type issue where an ';' was incorrectly...
authorGreg Clayton <gclayton@apple.com>
Wed, 31 Oct 2012 19:05:35 +0000 (19:05 +0000)
committerGreg Clayton <gclayton@apple.com>
Wed, 31 Oct 2012 19:05:35 +0000 (19:05 +0000)
llvm-svn: 167160

lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp

index 1b4c0ad..4b13cba 100644 (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);
             }
         }
     }