Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61769 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2010-05-04 13:34:01


Author: jewillco
Date: 2010-05-04 13:34:00 EDT (Tue, 04 May 2010)
New Revision: 61769
URL: http://svn.boost.org/trac/boost/changeset/61769

Log:
Fixed warnings from Clang
Text files modified:
   trunk/boost/graph/graph_concepts.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/graph/graph_concepts.hpp
==============================================================================
--- trunk/boost/graph/graph_concepts.hpp (original)
+++ trunk/boost/graph/graph_concepts.hpp 2010-05-04 13:34:00 EDT (Tue, 04 May 2010)
@@ -448,6 +448,7 @@
             typedef unsigned Index; // This could be Graph::vertex_index_type
             Map m = get(vertex_index, g);
             Index x = get(vertex_index, g, Vertex());
+ ignore_unused_variable_warning(m);
             ignore_unused_variable_warning(x);
 
             // This is relaxed
@@ -474,6 +475,7 @@
             typedef unsigned Index; // This could be Graph::vertex_index_type
             Map m = get(edge_index, g);
             Index x = get(edge_index, g, Edge());
+ ignore_unused_variable_warning(m);
             ignore_unused_variable_warning(x);
 
             // This is relaxed


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