Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86008 - trunk/boost/polygon/detail
From: sydorchuk.andriy_at_[hidden]
Date: 2013-09-29 14:11:30


Author: asydorchuk
Date: 2013-09-29 14:11:30 EDT (Sun, 29 Sep 2013)
New Revision: 86008
URL: http://svn.boost.org/trac/boost/changeset/86008

Log:
Polygon: fixing msvc warnings.

Text files modified:
   trunk/boost/polygon/detail/polygon_formation.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/polygon/detail/polygon_formation.hpp
==============================================================================
--- trunk/boost/polygon/detail/polygon_formation.hpp Sun Sep 29 12:42:24 2013 (r86007)
+++ trunk/boost/polygon/detail/polygon_formation.hpp 2013-09-29 14:11:30 EDT (Sun, 29 Sep 2013) (r86008)
@@ -1774,7 +1774,8 @@
         //we now have a [begin, end] //
         bool found_solid_opening = false;
         bool erase_succ = true, erase_pred = true;
- Unit solid_opening_begin, solid_opening_end;
+ Unit solid_opening_begin = 0;
+ Unit solid_opening_end = 0;
         size_t j = i+1;
         ActiveTail<Unit> *pfig = succ->second;
         ActiveTail<Unit> *ppfig = pred->second;


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