[BOLT] Remove an unused local variable (NFC) (#139392)

This commit is contained in:
Kazu Hirata
2025-05-10 10:21:59 -07:00
committed by GitHub
parent 0c83a0b7f4
commit 193135c800

View File

@@ -350,8 +350,6 @@ bool DataAggregator::checkPerfDataMagic(StringRef FileName) {
}
void DataAggregator::parsePreAggregated() {
std::string Error;
ErrorOr<std::unique_ptr<MemoryBuffer>> MB =
MemoryBuffer::getFileOrSTDIN(Filename);
if (std::error_code EC = MB.getError()) {