From 035fac705cf1e2b127cb2fc80a9f1275f7a2ccf2 Mon Sep 17 00:00:00 2001 From: Jeremiah Willcock Date: Sun, 25 Mar 2012 05:00:36 +0000 Subject: [PATCH] Fixed warnings [SVN r77531] --- test/dag_longest_paths.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/test/dag_longest_paths.cpp b/test/dag_longest_paths.cpp index a3793082..4b5151b3 100644 --- a/test/dag_longest_paths.cpp +++ b/test/dag_longest_paths.cpp @@ -20,12 +20,11 @@ int test_main(int, char*[]) property > Graph; Graph graph; - Graph::vertex_descriptor v1, v2, v3, v4; - v1 = add_vertex(graph); - v2 = add_vertex(graph); - v3 = add_vertex(graph); - v4 = add_vertex(graph); + (void)add_vertex(graph); + (void)add_vertex(graph); + (void)add_vertex(graph); + (void)add_vertex(graph); Graph::edge_descriptor e;