Commit 9d905e8c authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

Remove duplicate variable. NFCI.

parent cc8a1504
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2398,7 +2398,6 @@ static void checkFoundationAPI(Sema &S, SourceLocation Loc,
    return;
  QualType Ret = ImpliedMethod->getReturnType();
  if (Ret->isRecordType() || Ret->isVectorType() || Ret->isExtVectorType()) {
    QualType Ret = ImpliedMethod->getReturnType();
    S.Diag(Loc, diag::warn_objc_unsafe_perform_selector)
        << Method->getSelector()
        << (!Ret->isRecordType()