|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74202 - trunk/boost/geometry/algorithms/detail/overlay
From: barend.gehrels_at_[hidden]
Date: 2011-09-03 08:52:19
Author: barendgehrels
Date: 2011-09-03 08:52:18 EDT (Sat, 03 Sep 2011)
New Revision: 74202
URL: http://svn.boost.org/trac/boost/changeset/74202
Log:
Ticket #5747 Removed (commented) unused variables
Text files modified:
trunk/boost/geometry/algorithms/detail/overlay/get_turns.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/geometry/algorithms/detail/overlay/get_turns.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/detail/overlay/get_turns.hpp (original)
+++ trunk/boost/geometry/algorithms/detail/overlay/get_turns.hpp 2011-09-03 08:52:18 EDT (Sat, 03 Sep 2011)
@@ -514,9 +514,9 @@
next++;
next++;
- bool first = true;
+ //bool first = true;
- char previous_side[2] = {0, 0};
+ //char previous_side[2] = {0, 0};
int index = 0;
@@ -527,7 +527,7 @@
segment_identifier seg_id(source_id1,
multi_index, ring_index, index);
- if (first)
+ /*if (first)
{
previous_side[0] = get_side<0>(box, *prev);
previous_side[1] = get_side<1>(box, *prev);
@@ -541,7 +541,7 @@
// 1) EITHER the two points are lying on one side of the box (! 0 && the same)
// 2) OR same in Y-direction
// 3) OR all points are inside the box (0)
- /*if (! (
+ if (! (
(current_side[0] != 0 && current_side[0] == previous_side[0])
|| (current_side[1] != 0 && current_side[1] == previous_side[1])
|| (current_side[0] == 0
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk