From 3db73274d04166aafc4e8ec8bb2f85cf672b8135 Mon Sep 17 00:00:00 2001 From: Efi Fogel Date: Thu, 26 Sep 2002 16:21:51 +0000 Subject: [PATCH] clean up warning while compiling in non-debug mode --- .../include/CGAL/Trapezoidal_decomposition_2.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Packages/Trapezoidal_decomposition/include/CGAL/Trapezoidal_decomposition_2.h b/Packages/Trapezoidal_decomposition/include/CGAL/Trapezoidal_decomposition_2.h index ad6b8fcfb35..f9a50704784 100644 --- a/Packages/Trapezoidal_decomposition/include/CGAL/Trapezoidal_decomposition_2.h +++ b/Packages/Trapezoidal_decomposition/include/CGAL/Trapezoidal_decomposition_2.h @@ -209,6 +209,7 @@ public: #endif if (!traits->is_degenerate(*curr)) { +#ifndef NDEBUG Data_structure* tt=curr->get_node(); #ifndef CGAL_TD_DEBUG @@ -219,7 +220,7 @@ public: CGAL_assertion(tt); CGAL_assertion(!tt->is_inner_node()); - +#endif #endif // handle degeneracies @@ -273,7 +274,7 @@ public: } else // pass along degenerate X_curve. { - +#ifndef NDEBUG #ifndef CGAL_TD_DEBUG Data_structure* tt=curr->get_node(); @@ -285,7 +286,7 @@ public: Data_structure* tt=curr->get_node(); CGAL_assertion(tt); CGAL_assertion(tt->is_inner_node()); - +#endif #endif curr=curr->right_bottom_neighbour();