Skip to content

Commit 7757f13

Browse files
authored
[NFC] Fix compile warnings in llvm/unittests/Object/OffloadingBundleTest.cpp (llvm#3773)
1 parent c7019de commit 7757f13

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/unittests/Object/OffloadingBundleTest.cpp

Lines changed: 0 additions & 4 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,8 +67,6 @@ TEST(OffloadingBundleTest, checkExtractOffloadBundleFatBinary) {
6967

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

0 commit comments

Comments
 (0)