Skip to content

Commit 4d73cbe

Browse files
[nfc]remove unused variable after pr/81691 (#82578)
* `N` became unused after [pull request 81691](#81691) * This should fix the build bot failure of `unused variable` https://lab.llvm.org/buildbot/#/builders/77/builds/34840
1 parent db7e9e6 commit 4d73cbe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/ProfileData/InstrProfWriter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,6 @@ Error InstrProfWriter::writeImpl(ProfOStream &OS) {
456456
Header.BinaryIdOffset = 0;
457457
Header.TemporalProfTracesOffset = 0;
458458
Header.VTableNamesOffset = 0;
459-
int N = sizeof(IndexedInstrProf::Header) / sizeof(uint64_t);
460459

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

0 commit comments

Comments
 (0)