diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2010-09-02 07:08:05 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2010-09-02 07:08:05 +0000 |
commit | 4315093eb76b8806fed72273f0909d68645f12d3 (patch) | |
tree | 27dc0664d28c36406ae7d1503de345ac3178683d /lib | |
parent | 59b4d2a371e2a37db2876bc57db19475c7a1c527 (diff) |
Silence an ambiguous else warning from GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/PBQP/HeuristicBase.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/PBQP/HeuristicBase.h b/lib/CodeGen/PBQP/HeuristicBase.h index 37442317bb..791c227f0d 100644 --- a/lib/CodeGen/PBQP/HeuristicBase.h +++ b/lib/CodeGen/PBQP/HeuristicBase.h @@ -173,12 +173,13 @@ namespace PBQP { bool finished = false; while (!finished) { - if (!optimalReduce()) + if (!optimalReduce()) { if (impl().heuristicReduce()) { getSolver().recordRN(); } else { finished = true; } + } } } |