diff --git a/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp b/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp index b1d96db542ad2..034678527950d 100644 --- a/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp +++ b/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp @@ -1938,8 +1938,6 @@ void InstrLowerer::emitVNodes() { } void InstrLowerer::emitNameData() { - std::string UncompressedData; - if (ReferencedNames.empty()) return;