Silence an ambiguous else warning from GCC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth
2010-09-02 07:08:05 +00:00
parent 59b4d2a371
commit 4315093eb7

View File

@ -173,7 +173,7 @@ namespace PBQP {
bool finished = false;
while (!finished) {
if (!optimalReduce())
if (!optimalReduce()) {
if (impl().heuristicReduce()) {
getSolver().recordRN();
} else {
@ -181,6 +181,7 @@ namespace PBQP {
}
}
}
}
/// \brief Add a node to the heuristic reduce list.
/// @param nItr Node iterator to add to the heuristic reduce list.