diff options
Diffstat (limited to 'lldb/source/Interpreter/OptionValueUUID.cpp')
| -rw-r--r-- | lldb/source/Interpreter/OptionValueUUID.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Interpreter/OptionValueUUID.cpp b/lldb/source/Interpreter/OptionValueUUID.cpp index a1f16e146a3..3519334b8a0 100644 --- a/lldb/source/Interpreter/OptionValueUUID.cpp +++ b/lldb/source/Interpreter/OptionValueUUID.cpp @@ -79,9 +79,8 @@ size_t OptionValueUUID::AutoComplete(CommandInterpreter &interpreter, const size_t num_modules = target->GetImages().GetSize(); if (num_modules > 0) { UUID::ValueType uuid_bytes; - size_t num_bytes_decoded = 0; - llvm::StringRef rest = - UUID::DecodeUUIDBytesFromString(s, uuid_bytes, num_bytes_decoded); + uint32_t num_bytes_decoded = 0; + UUID::DecodeUUIDBytesFromString(s, uuid_bytes, num_bytes_decoded); for (size_t i = 0; i < num_modules; ++i) { ModuleSP module_sp(target->GetImages().GetModuleAtIndex(i)); if (module_sp) { |

