$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r77523 - in trunk: boost/graph libs/graph/test
From: jewillco_at_[hidden]
Date: 2012-03-24 19:35:24
Author: jewillco
Date: 2012-03-24 19:35:23 EDT (Sat, 24 Mar 2012)
New Revision: 77523
URL: http://svn.boost.org/trac/boost/changeset/77523
Log:
Fixed warnings
Text files modified: 
   trunk/boost/graph/johnson_all_pairs_shortest.hpp |     2 --                                      
   trunk/libs/graph/test/property_iter.cpp          |     2 ++                                      
   2 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/graph/johnson_all_pairs_shortest.hpp
==============================================================================
--- trunk/boost/graph/johnson_all_pairs_shortest.hpp	(original)
+++ trunk/boost/graph/johnson_all_pairs_shortest.hpp	2012-03-24 19:35:23 EDT (Sat, 24 Mar 2012)
@@ -121,8 +121,6 @@
           (g2, *u, pred, d, w_hat, id2, compare, combine, inf, zero,dvis);
         for (boost::tie(v, v_end) = vertices(g2); v != v_end; ++v) {
           if (*u != s && *v != s) {
-            typename Traits1::vertex_descriptor u1, v1;
-            u1 = verts1[get(id2, *u)]; v1 = verts1[get(id2, *v)];
             D[get(id2, *u)-1][get(id2, *v)-1] = combine(get(d, *v), (get(h, *v) - get(h, *u)));
           }
         }
Modified: trunk/libs/graph/test/property_iter.cpp
==============================================================================
--- trunk/libs/graph/test/property_iter.cpp	(original)
+++ trunk/libs/graph/test/property_iter.cpp	2012-03-24 19:35:23 EDT (Sat, 24 Mar 2012)
@@ -68,8 +68,10 @@
   std::size_t current_edge_id = 0;
 
   property_map<Graph, vertex_id_t>::type vertex_id_map = get(vertex_id, g);
+  (void)vertex_id_map;
 
   property_map<Graph, edge_id_t>::type edge_id_map = get(edge_id, g);
+  (void)edge_id_map;
 
   for (std::size_t k = 0; k < N; ++k)
     add_vertex(current_vertex_id++, g);