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) {
763763 return errorCodeToError (std::move (Err));
764764
765765 auto Buffer = std::move (*BufferOrErr);
766- std::unique_ptr<InterfaceFile> IF;
767766 switch (identify_magic (Buffer->getBuffer ())) {
768767 case file_magic::macho_dynamically_linked_shared_lib:
769768 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() {
106106 // Permit using multiple instances of `file` in a single string.
107107 for (auto &File : llvm::split (Args[" file" ], " ," )) {
108108 OffloadBinary::OffloadingImage ImageBinary{};
109- std::unique_ptr<llvm::MemoryBuffer> DeviceImage;
110109
111110 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> ObjectOrErr =
112111 llvm::MemoryBuffer::getFileOrSTDIN (File);
You can’t perform that action at this time.
0 commit comments