summaryrefslogtreecommitdiff
path: root/src/csgtermnormalizer.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2012-04-23 23:17:21 (GMT)
committerClifford Wolf <clifford@clifford.at>2012-04-23 23:17:21 (GMT)
commita718c4a59dd251dd4c2cf8fca1ae6a5ebe1ad990 (patch)
treeb5812d3753058feb93b2bd3f1f95da1f8aef65f5 /src/csgtermnormalizer.cc
parentdde401cadb499b272c1a2fe992e48c354bc5e5cf (diff)
Some trivial fixes for compiler warnings
Diffstat (limited to 'src/csgtermnormalizer.cc')
-rw-r--r--src/csgtermnormalizer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/csgtermnormalizer.cc b/src/csgtermnormalizer.cc
index b4bfa4c..6600758 100644
--- a/src/csgtermnormalizer.cc
+++ b/src/csgtermnormalizer.cc
@@ -46,8 +46,8 @@ shared_ptr<CSGTerm> CSGTermNormalizer::normalizePass(shared_ptr<CSGTerm> term)
if (!term || term->type == CSGTerm::TYPE_PRIMITIVE) return term;
if (term->left) term->left = normalizePass(term->left);
} while (term->type != CSGTerm::TYPE_UNION &&
- (term->right && term->right->type != CSGTerm::TYPE_PRIMITIVE ||
- term->left && term->left->type == CSGTerm::TYPE_UNION));
+ ((term->right && term->right->type != CSGTerm::TYPE_PRIMITIVE) ||
+ (term->left && term->left->type == CSGTerm::TYPE_UNION)));
term->right = normalizePass(term->right);
// FIXME: Do we need to take into account any transformation of item here?
contact: Jan Huwald // Impressum