diff options
| author | Tom Stellard <tstellar@redhat.com> | 2024-07-11 17:42:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-11 17:42:11 -0700 |
| commit | ce2b28055330b37e67ece18bd42d13beb537955d (patch) | |
| tree | 03ed1a6d93d75c97b5fefd76bb89bd0a2aba0d4a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | e57d7dae6f28af513a17a5d6813399f04245e9e1 (diff) | |
[BitcodeReader] Remove dead increment (#98412)
This was found by the Clang Static Analyzer.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
| -rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index 6203c6e5119d..84d624f6cf8f 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -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)); |
