[lldb] Remove redundant ctor call (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 29 Sep 2020 17:04:15 +0000 (10:04 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 29 Sep 2020 17:05:12 +0000 (10:05 -0700)
As pointed out by Pavel in D88249.

lldb/source/API/SBValue.cpp

index 63518b4..0a95cf4 100644 (file)
@@ -1356,7 +1356,7 @@ lldb::SBAddress SBValue::GetAddress() {
     }
   }
 
-  return LLDB_RECORD_RESULT(SBAddress(Address(addr)));
+  return LLDB_RECORD_RESULT(SBAddress(addr));
 }
 
 lldb::SBData SBValue::GetPointeeData(uint32_t item_idx, uint32_t item_count) {