Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 07ea3b0

Browse files
committed
[Coroutines] Fix unused var warning in release build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279610 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent c5f116c commit 07ea3b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Transforms/Coroutines/CoroFrame.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ SuspendCrossingInfo::SuspendCrossingInfo(Function &F, coro::Shape &Shape)
182182
}
183183

184184
// Iterate propagating consumes and kills until they stop changing
185-
int Iteration = 0;
186-
185+
int Iteration = 0; (void)Iteration;
186+
187187
bool Changed;
188188
do {
189189
DEBUG(dbgs() << "iteration " << ++Iteration);

0 commit comments

Comments
 (0)