aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData
diff options
context:
space:
mode:
authorMingming Liu <mingmingl@google.com>2024-02-21 21:10:47 -0800
committerGitHub <noreply@github.com>2024-02-21 21:10:47 -0800
commit4d73cbe863886add6742a8ebd00d19c1cab11095 (patch)
tree2ae1abca358b20b812485d33c635a3c757cdf159 /llvm/lib/ProfileData
parentdb7e9e68411de074dee78c92657e983da4b89500 (diff)
downloadllvm-4d73cbe863886add6742a8ebd00d19c1cab11095.zip
llvm-4d73cbe863886add6742a8ebd00d19c1cab11095.tar.gz
llvm-4d73cbe863886add6742a8ebd00d19c1cab11095.tar.bz2
[nfc]remove unused variable after pr/81691 (#82578)
* `N` became unused after [pull request 81691](https://github.com/llvm/llvm-project/pull/81691) * This should fix the build bot failure of `unused variable` https://lab.llvm.org/buildbot/#/builders/77/builds/34840
Diffstat (limited to 'llvm/lib/ProfileData')
-rw-r--r--llvm/lib/ProfileData/InstrProfWriter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/ProfileData/InstrProfWriter.cpp b/llvm/lib/ProfileData/InstrProfWriter.cpp
index e5163ebe..3e0a0e0 100644
--- a/llvm/lib/ProfileData/InstrProfWriter.cpp
+++ b/llvm/lib/ProfileData/InstrProfWriter.cpp
@@ -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.