From: Dan Gohman Date: Wed, 20 Aug 2008 14:00:56 +0000 (+0000) Subject: Avoid an empty-if-body warning in release builds. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7a30bc4e7c034ecd0a3bcbfb385ac2a129e6583c;p=oota-llvm.git Avoid an empty-if-body warning in release builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55050 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp index 9eaf326896f..746c73e28b9 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp @@ -127,9 +127,10 @@ ScanOperands: if (NeedsRevisit) continue; - if (i == NumOperands) + if (i == NumOperands) { DEBUG(cerr << "Legally typed node: "; N->dump(&DAG); cerr << "\n"); } + } NodeDone: // If we reach here, the node was processed, potentially creating new nodes.