Mod/Robot: fix some spaces and a couple of warnings

Warnings wsa:
src/Mod/Robot/App/kdl_cp/chaindynparam.cpp|105 col 5| warning: control may reach end of non-void function [-Wreturn-type]
src/Mod/Robot/App/kdl_cp/chainidsolver_recursive_newton_euler.cpp|82 col 5| warning: control may reach end of non-void function [-Wreturn-type]
This commit is contained in:
Alexander Golubev 2015-05-17 20:41:35 +03:00 committed by wmayer
parent efb08237ac
commit cd0ae20ef5
2 changed files with 58 additions and 56 deletions

View File

@ -101,7 +101,8 @@ namespace KDL {
k--; //this if-loop should be repeated nj times (k=nj-1 to k=0) k--; //this if-loop should be repeated nj times (k=nj-1 to k=0)
} }
} } // for
return 0;
} }
//calculate coriolis matrix C //calculate coriolis matrix C

View File

@ -79,5 +79,6 @@ namespace KDL{
if(i!=0) if(i!=0)
f[i-1]=f[i-1]+X[i]*f[i]; f[i-1]=f[i-1]+X[i]*f[i];
} }
return 0;
} }
}//namespace }//namespace