Skip to content

Commit 2ed64cb

Browse files
committed
Remove redundant argument (NFC)
1 parent 6e086cb commit 2ed64cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/source/Plugins/Language/Swift/SwiftHashedContainer.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,8 @@ NativeHashedStorageHandler::NativeHashedStorageHandler(
459459
std::vector<TypeSystemSwift::TupleElement> tuple_elements{
460460
{g_key, key_type}, {g_value, value_type}};
461461
m_element_type = type_system->CreateTupleType(tuple_elements);
462-
Status error;
463462
if (auto result = runtime->GetMemberVariableOffset(
464-
m_element_type, nativeStorage_sp.get(), "1", &error))
463+
m_element_type, nativeStorage_sp.get(), "1"))
465464
m_key_stride_padded = *result;
466465
else if (auto element_stride = m_element_type.GetByteStride(m_process))
467466
m_key_stride_padded = *element_stride - m_value_stride;

0 commit comments

Comments
 (0)