File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -763,7 +763,6 @@ getInterfaceFile(const StringRef Filename) {
763
763
return errorCodeToError (std::move (Err));
764
764
765
765
auto Buffer = std::move (*BufferOrErr);
766
- std::unique_ptr<InterfaceFile> IF;
767
766
switch (identify_magic (Buffer->getBuffer ())) {
768
767
case file_magic::macho_dynamically_linked_shared_lib:
769
768
case file_magic::macho_dynamically_linked_shared_lib_stub:
Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ static Error bundleImages() {
106
106
// Permit using multiple instances of `file` in a single string.
107
107
for (auto &File : llvm::split (Args[" file" ], " ," )) {
108
108
OffloadBinary::OffloadingImage ImageBinary{};
109
- std::unique_ptr<llvm::MemoryBuffer> DeviceImage;
110
109
111
110
llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> ObjectOrErr =
112
111
llvm::MemoryBuffer::getFileOrSTDIN (File);
You can’t perform that action at this time.
0 commit comments