|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r77525 - trunk/libs/graph/test
From: jewillco_at_[hidden]
Date: 2012-03-24 21:38:30
Author: jewillco
Date: 2012-03-24 21:38:29 EDT (Sat, 24 Mar 2012)
New Revision: 77525
URL: http://svn.boost.org/trac/boost/changeset/77525
Log:
Fixed warnings
Text files modified:
trunk/libs/graph/test/index_graph.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/graph/test/index_graph.cpp
==============================================================================
--- trunk/libs/graph/test/index_graph.cpp (original)
+++ trunk/libs/graph/test/index_graph.cpp 2012-03-24 21:38:29 EDT (Sat, 24 Mar 2012)
@@ -20,7 +20,7 @@
static const size_t N = 5;
Graph g;
- IndexMap x = get(vertex_index, g);
+ (void)(IndexMap)get(vertex_index, g);
// build up the graph
Vertex v[N];
@@ -73,7 +73,7 @@
Graph g(N);
BOOST_ASSERT(max_vertex_index(g) == N);
- IndexMap x = get(vertex_index, g);
+ (void)(IndexMap)get(vertex_index, g);
// Each vertex should be numbered correctly.
Iterator i, end;
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