[BitcodeReader] Remove dead increment (#98412)

This was found by the Clang Static Analyzer.
This commit is contained in:
Tom Stellard authored and GitHub committed 2024-07-11 17:42:11 -07:00
1 parent e57d7dae6f
commit ce2b280553
1 file changed
-1
@@ -4381,7 +4381,6 @@ Error BitcodeReader::parseGlobalIndirectSymbolRecord(
return error("Malformed partition, too large.");
NewGA->setPartition(
StringRef(Strtab.data() + Record[OpNum], Record[OpNum + 1]));
OpNum += 2;
}
ValueList.push_back(NewGA, getVirtualTypeID(NewGA->getType(), TypeID));