diff --git a/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp b/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp index abb26ba8cc40..cdb562c40845 100644 --- a/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp +++ b/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp @@ -463,6 +463,7 @@ bool LLVMSymbolizer::getOrFindDebugBinary(const ArrayRef BuildID, Result = Path.str(); auto InsertResult = BuildIDPaths.insert({BuildIDStr, Result}); assert(InsertResult.second); + (void)InsertResult; }; Optional Path;