Skip to content

Commit ce2b280

Browse files
authored
[BitcodeReader] Remove dead increment (llvm#98412)
This was found by the Clang Static Analyzer.
1 parent e57d7da commit ce2b280

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Bitcode/Reader/BitcodeReader.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4381,7 +4381,6 @@ Error BitcodeReader::parseGlobalIndirectSymbolRecord(
43814381
return error("Malformed partition, too large.");
43824382
NewGA->setPartition(
43834383
StringRef(Strtab.data() + Record[OpNum], Record[OpNum + 1]));
4384-
OpNum += 2;
43854384
}
43864385

43874386
ValueList.push_back(NewGA, getVirtualTypeID(NewGA->getType(), TypeID));

0 commit comments

Comments
 (0)