[Attributor] Remove unused variable. NFC.
llvm-svn: 369444
diff --git a/llvm/lib/Transforms/IPO/Attributor.cpp b/llvm/lib/Transforms/IPO/Attributor.cpp
index 4cdb385..bbd14d7 100644
--- a/llvm/lib/Transforms/IPO/Attributor.cpp
+++ b/llvm/lib/Transforms/IPO/Attributor.cpp
@@ -1628,7 +1628,7 @@
/// the callee is nounwind and noreturn. Otherwise, we keep the invoke
/// and only place an unreachable in the normal successor.
if (Invoke2CallAllowed) {
- if (Function *Callee = II->getCalledFunction()) {
+ if (II->getCalledFunction()) {
const IRPosition &IPos = IRPosition::callsite_function(*II);
const auto &AANoUnw = A.getAAFor<AANoUnwind>(*this, IPos);
if (AANoUnw.isAssumedNoUnwind()) {