From dc5032bb562516d46083fd977add9d091dc7f934 Mon Sep 17 00:00:00 2001 From: Joseph Mirabel <jmirabel@laas.fr> Date: Thu, 8 Oct 2015 17:00:23 +0200 Subject: [PATCH] Fix warnings in test-pathprojection --- tests/path-projection.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/path-projection.cc b/tests/path-projection.cc index 095db5d..9a9c857 100644 --- a/tests/path-projection.cc +++ b/tests/path-projection.cc @@ -132,11 +132,12 @@ namespace hpp_test { std::ostream& printpath (std::ostream& os, const Path& p) { value_type t = p.timeRange ().first; + bool noWarning; while (t < p.timeRange().second) { - print (os, p (t)) << ","; + print (os, p (t, noWarning)) << ","; t += STEP_PATH; } - return print (os, p (p.timeRange ().second)); + return print (os, p (p.timeRange ().second, noWarning)); } namespace pythonscript { -- GitLab