Skip to content

Commit

Permalink
[nfc]remove unused variable after pr/81691 (llvm#82578)
Browse files Browse the repository at this point in the history
* `N` became unused after [pull request 81691](llvm#81691)
* This should fix the build bot failure of `unused variable`
https://lab.llvm.org/buildbot/#/builders/77/builds/34840
  • Loading branch information
minglotus-6 authored Feb 22, 2024
1 parent db7e9e6 commit 4d73cbe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/ProfileData/InstrProfWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,6 @@ Error InstrProfWriter::writeImpl(ProfOStream &OS) {
Header.BinaryIdOffset = 0;
Header.TemporalProfTracesOffset = 0;
Header.VTableNamesOffset = 0;
int N = sizeof(IndexedInstrProf::Header) / sizeof(uint64_t);

// Only write out the first four fields. We need to remember the offset of the
// remaining fields to allow back patching later.
Expand Down

0 comments on commit 4d73cbe

Please sign in to comment.