Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53114 - trunk/boost/graph/detail
From: juergen.hunold_at_[hidden]
Date: 2009-05-19 15:15:47


Author: jhunold
Date: 2009-05-19 15:15:46 EDT (Tue, 19 May 2009)
New Revision: 53114
URL: http://svn.boost.org/trac/boost/changeset/53114

Log:
Suppress "unused variable" warning,

Text files modified:
   trunk/boost/graph/detail/read_graphviz_new.hpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: trunk/boost/graph/detail/read_graphviz_new.hpp
==============================================================================
--- trunk/boost/graph/detail/read_graphviz_new.hpp (original)
+++ trunk/boost/graph/detail/read_graphviz_new.hpp 2009-05-19 15:15:46 EDT (Tue, 19 May 2009)
@@ -658,6 +658,9 @@
     }
 
     void do_begin_graph(bool is_strict, bool is_directed, const std::string& name) {
+ ignore_unused_variable_warning(is_strict);
+ ignore_unused_variable_warning(is_directed);
+ ignore_unused_variable_warning(name);
       // std::cerr << "starting" << (is_strict ? " strict" : "") << " " << (is_directed ? "directed" : "undirected") << " graph named " << name << std::endl;
     }
 
@@ -669,14 +672,17 @@
     }
       
     void do_subgraph_reference(const std::string& name) {
+ ignore_unused_variable_warning(name);
       // std::cerr << "subgraph reference to " << name << std::endl;
     }
 
     void do_begin_subgraph(const std::string& name) {
+ ignore_unused_variable_warning(name);
       // std::cerr << "starting subgraph named " << name << std::endl;
     }
 
     void do_end_subgraph(const properties& props) {
+ ignore_unused_variable_warning(props);
       // std::cerr << "ending subgraph " << props_to_string(props) << std::endl;
     }
   };


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