[Lemon-commits] Alpar Juttner: Further GCC 4.7 compiler warning ...
Lemon HG
hg at lemon.cs.elte.hu
Wed Nov 28 12:10:22 CET 2012
details: http://lemon.cs.elte.hu/hg/lemon/rev/a26b90a17c81
changeset: 1174:a26b90a17c81
user: Alpar Juttner <alpar [at] cs.elte.hu>
date: Wed Nov 28 11:58:00 2012 +0100
description:
Further GCC 4.7 compiler warning fixes (#453)
diffstat:
test/bellman_ford_test.cc | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (23 lines):
diff --git a/test/bellman_ford_test.cc b/test/bellman_ford_test.cc
--- a/test/bellman_ford_test.cc
+++ b/test/bellman_ford_test.cc
@@ -65,8 +65,10 @@
Node s, t, n;
Arc e;
Value l;
+ ignore_unused_variable_warning(l);
int k=3;
bool b;
+ ignore_unused_variable_warning(b);
BF::DistMap d(gr);
BF::PredMap p(gr);
LengthMap length;
@@ -147,6 +149,8 @@
Digraph g;
bool b;
+ ignore_unused_variable_warning(b);
+
bellmanFord(g,LengthMap()).run(Node());
b = bellmanFord(g,LengthMap()).run(Node(),Node());
bellmanFord(g,LengthMap())
More information about the Lemon-commits
mailing list