Skip to content

Commit

Permalink
Mod/Robot: Removed -Wunused-result warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Sep 11, 2015
1 parent 98ab26c commit 1f1660a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Robot/App/RobotAlgos.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1f1660a

Please sign in to comment.