Remove duplicate variable. NFCI.

This commit is contained in:
Simon Pilgrim 2020-01-14 13:42:26 +00:00
parent cc8a150428
commit 9d905e8ced
1 changed files with 0 additions and 1 deletions

View File

@ -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()