r297105 - Fix unused variable in SemaCoroutine.cpp
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 6 16:01:13 PST 2017
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");
More information about the cfe-commits
mailing list