summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaCoroutine.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-03-07 00:01:13 +0000
committerEric Fiselier <eric@efcs.ca>2017-03-07 00:01:13 +0000
commit2debda2306b72aa96ee30111f8959c146d9f00a5 (patch)
tree375015183c6999c13a078e6d9ebce478acfb98cf /clang/lib/Sema/SemaCoroutine.cpp
parentb6776885460354602445e8606a36cc7cc1d7eb16 (diff)
downloadbcm5719-llvm-2debda2306b72aa96ee30111f8959c146d9f00a5.tar.gz
bcm5719-llvm-2debda2306b72aa96ee30111f8959c146d9f00a5.zip
Fix unused variable in SemaCoroutine.cpp
llvm-svn: 297105
Diffstat (limited to 'clang/lib/Sema/SemaCoroutine.cpp')
-rw-r--r--clang/lib/Sema/SemaCoroutine.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaCoroutine.cpp b/clang/lib/Sema/SemaCoroutine.cpp
index 9fec855bab2..6de31462a41 100644
--- a/clang/lib/Sema/SemaCoroutine.cpp
+++ b/clang/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");
OpenPOWER on IntegriCloud