Skip to content

Commit 9303cdf

Browse files
author
Salinas, David
authored
[NFC] Fix compile warnings in `llvm/unittests/Object/OffloadingBundle… (llvm#4097)
2 parents 2c56a3e + c37b82f commit 9303cdf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/unittests/Object/OffloadingBundleTest.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ toBinary(SmallVectorImpl<char> &Storage, StringRef Yaml) {
5353
TEST(OffloadingBundleTest, checkExtractOffloadBundleFatBinary) {
5454

5555
// create a Memory Buffer with a fatbin offloading section
56-
MemoryBufferRef mbuf;
57-
StringRef FileName;
5856
SmallVector<OffloadBundleEntry>();
5957
SmallString<0> Storage;
6058
// Expected<ELFObjectFile<ELF64LE>> ObjOrErr = toBinary<ELF64LE>(Storage, R"(
@@ -69,7 +67,6 @@ TEST(OffloadingBundleTest, checkExtractOffloadBundleFatBinary) {
6967

7068
TEST(OffloadingBundleTest, checkExtractCodeObject) {
7169
// create a Memory Buffer with a fatbin offloading section
72-
MemoryBufferRef mbuf;
7370
SmallVector<OffloadBundleEntry>();
7471
SmallString<0> Storage;
7572
// Expected<ELFObjectFile<ELF64LE>> ObjOrErr = toBinary<ELF64LE>(Storage, R"(

0 commit comments

Comments
 (0)