Skip to content
Snippets Groups Projects
Commit dc5032bb authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix warnings in test-pathprojection

parent 8d6cf364
Branches
Tags
No related merge requests found
...@@ -132,11 +132,12 @@ namespace hpp_test { ...@@ -132,11 +132,12 @@ namespace hpp_test {
std::ostream& printpath (std::ostream& os, const Path& p) std::ostream& printpath (std::ostream& os, const Path& p)
{ {
value_type t = p.timeRange ().first; value_type t = p.timeRange ().first;
bool noWarning;
while (t < p.timeRange().second) { while (t < p.timeRange().second) {
print (os, p (t)) << ","; print (os, p (t, noWarning)) << ",";
t += STEP_PATH; t += STEP_PATH;
} }
return print (os, p (p.timeRange ().second)); return print (os, p (p.timeRange ().second, noWarning));
} }
namespace pythonscript { namespace pythonscript {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment