Fix unused variable in SemaCoroutine.cpp

llvm-svn: 297105
This commit is contained in:
Eric Fiselier 2017-03-07 00:01:13 +00:00
parent b677688546
commit 2debda2306
1 changed files with 0 additions and 1 deletions

View File

@ -326,7 +326,6 @@ static FunctionScopeInfo *checkCoroutineContext(Sema &S, SourceLocation Loc,
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");