mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Gardening] Fix some set but not used variables
This commit is contained in:
@@ -188,7 +188,7 @@ static bool extractLinkerFlags(const llvm::object::Binary *Bin,
|
||||
}
|
||||
}
|
||||
return bool(Error);
|
||||
} else if (auto *IRObjectFile = llvm::dyn_cast<llvm::object::IRObjectFile>(Bin)) {
|
||||
} else if (llvm::isa<llvm::object::IRObjectFile>(Bin)) {
|
||||
// Ignore the LLVM IR files (LTO)
|
||||
return false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user