diff options
Diffstat (limited to 'lldb/source/Interpreter/OptionValuePathMappings.cpp')
-rw-r--r-- | lldb/source/Interpreter/OptionValuePathMappings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/OptionValuePathMappings.cpp b/lldb/source/Interpreter/OptionValuePathMappings.cpp index d507b146747..b5949382c5b 100644 --- a/lldb/source/Interpreter/OptionValuePathMappings.cpp +++ b/lldb/source/Interpreter/OptionValuePathMappings.cpp @@ -151,9 +151,9 @@ OptionValuePathMappings::SetValueFromCString (const char *value, VarSetOperation { // Sort and then erase in reverse so indexes are always valid std::sort(remove_indexes.begin(), remove_indexes.end()); - for (int i=num_remove_indexes-1; i<num_remove_indexes; ++i) + for (int j=num_remove_indexes-1; j<num_remove_indexes; ++j) { - m_path_mappings.Remove (i, m_notify_changes); + m_path_mappings.Remove (j, m_notify_changes); } } } |