diff options
-rw-r--r-- | lib/Sema/SemaCoroutine.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Sema/SemaCoroutine.cpp b/lib/Sema/SemaCoroutine.cpp index 9fec855bab..6de31462a4 100644 --- a/lib/Sema/SemaCoroutine.cpp +++ b/lib/Sema/SemaCoroutine.cpp @@ -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"); |