Commit b892bf24 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[Minor] Fix compilation warning.

parent 55bebbb9
......@@ -230,7 +230,7 @@ namespace hpp {
end_.head (device_->configSize ()), l/L, q[2]);
const int* types = DIRDATA [typeId_];
for (std::size_t i=0; i<3; ++i) {
value_type curvature;
value_type curvature = 0;
switch (types [i]) {
case L_SEG:
curvature = 1./rho_;
......
......@@ -274,7 +274,7 @@ namespace hpp {
pathLength = fabs (tmax - tmin)/L * length ();
}
Configuration_t init (robot_->configSize ());
bool res (impl_compute (init, tmin)); assert (res);
bool res (impl_compute (init, tmin)); assert (res); (void)res;
Configuration_t end (robot_->configSize ());
res = impl_compute (end,tmax); assert (res);
ConstantCurvaturePtr_t result (createCopy (weak_.lock ()));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment