$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r53404 - trunk/libs/graph/src
From: jewillco_at_[hidden]
Date: 2009-05-29 14:12:24
Author: jewillco
Date: 2009-05-29 14:12:24 EDT (Fri, 29 May 2009)
New Revision: 53404
URL: http://svn.boost.org/trac/boost/changeset/53404
Log:
Fixed warnings
Text files modified: 
   trunk/libs/graph/src/read_graphviz_new.cpp |     9 +++++++--                               
   1 files changed, 7 insertions(+), 2 deletions(-)
Modified: trunk/libs/graph/src/read_graphviz_new.cpp
==============================================================================
--- trunk/libs/graph/src/read_graphviz_new.cpp	(original)
+++ trunk/libs/graph/src/read_graphviz_new.cpp	2009-05-29 14:12:24 EDT (Fri, 29 May 2009)
@@ -159,8 +159,13 @@
 
     void skip() {
       boost::match_results<std::string::const_iterator> results;
-      bool found = boost::regex_search(begin, end, results, stuff_to_skip);
+#ifndef NDEBUG
+      bool found =
+#endif
+        boost::regex_search(begin, end, results, stuff_to_skip);
+#ifndef NDEBUG
       assert (found);
+#endif
       boost::sub_match<std::string::const_iterator> sm1 = results.suffix();
       assert (sm1.second == end);
       begin = sm1.first;
@@ -406,7 +411,7 @@
 
     void parse_graph(bool want_directed) {
       bool is_strict = false;
-      bool is_directed;
+      bool is_directed = false;
       std::string name;
       if (peek().type == token::kw_strict) {get(); is_strict = true;}
       switch (peek().type) {