Author: ericwf Date: Mon Mar 6 18:01:13 2017 New Revision: 297105 URL: http://llvm.org/viewvc/llvm-project?rev=297105&view=rev Log: Fix unused variable in SemaCoroutine.cpp
Modified: cfe/trunk/lib/Sema/SemaCoroutine.cpp Modified: cfe/trunk/lib/Sema/SemaCoroutine.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaCoroutine.cpp?rev=297105&r1=297104&r2=297105&view=diff ============================================================================== --- cfe/trunk/lib/Sema/SemaCoroutine.cpp (original) +++ cfe/trunk/lib/Sema/SemaCoroutine.cpp Mon Mar 6 18:01:13 2017 @@ -326,7 +326,6 @@ static FunctionScopeInfo *checkCoroutine return nullptr; assert(isa<FunctionDecl>(S.CurContext) && "not in a function scope"); - auto *FD = cast<FunctionDecl>(S.CurContext); auto *ScopeInfo = S.getCurFunction(); assert(ScopeInfo && "missing function scope for function"); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits