diff options
author | Gor Nishanov <GorNishanov@gmail.com> | 2016-08-24 05:20:30 +0000 |
---|---|---|
committer | Gor Nishanov <GorNishanov@gmail.com> | 2016-08-24 05:20:30 +0000 |
commit | 07ea3b0b35d9d44c44ba2f99f3b2b91712bc7a0b (patch) | |
tree | fbe8fd7fa5ed843a651f6407f76c43e778f21e99 /lib/Transforms/Coroutines | |
parent | c5f116c1ce85621e1d7b8c2a8604755bf8561b0e (diff) |
[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
Diffstat (limited to 'lib/Transforms/Coroutines')
-rw-r--r-- | lib/Transforms/Coroutines/CoroFrame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Coroutines/CoroFrame.cpp b/lib/Transforms/Coroutines/CoroFrame.cpp index 5faf06516c9..66002fe16c5 100644 --- a/lib/Transforms/Coroutines/CoroFrame.cpp +++ b/lib/Transforms/Coroutines/CoroFrame.cpp @@ -182,8 +182,8 @@ SuspendCrossingInfo::SuspendCrossingInfo(Function &F, coro::Shape &Shape) } // Iterate propagating consumes and kills until they stop changing - int Iteration = 0; - + int Iteration = 0; (void)Iteration; + bool Changed; do { DEBUG(dbgs() << "iteration " << ++Iteration); |