summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Language/ObjC
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Language/ObjC')
-rw-r--r--lldb/source/Plugins/Language/ObjC/NSDictionary.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp b/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
index 60924faeeaa..cdebd6b3c23 100644
--- a/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
+++ b/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
@@ -593,10 +593,10 @@ lldb_private::formatters::NSDictionary1SyntheticFrontEnd::GetChildAtIndex (size_
Error error;
- lldb::addr_t key_at_idx = process_sp->ReadPointerFromMemory(key_ptr, error);
+ lldb::addr_t value_at_idx = process_sp->ReadPointerFromMemory(key_ptr, error);
if (error.Fail())
return nullptr;
- lldb::addr_t value_at_idx = process_sp->ReadPointerFromMemory(value_ptr, error);
+ lldb::addr_t key_at_idx = process_sp->ReadPointerFromMemory(value_ptr, error);
if (error.Fail())
return nullptr;
OpenPOWER on IntegriCloud