Mod/Robot: Removed -Wunused-result warnings.

This commit is contained in:
wmayer
2015-09-11 15:45:21 +02:00
parent 9d561008c4
commit 09a975eef7

View File

@@ -95,7 +95,8 @@ void RobotAlgos::Test(void)
for(unsigned int i=0;i<nj;i++){
float myinput;
printf ("Enter the position of joint %i: ",i);
scanf ("%e",&myinput);
int result = scanf ("%e",&myinput);
(void)result;
jointpositions(i)=(double)myinput;
}