compilation warnings (unused variables, no return value for non void functions etc.) removed

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@142 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi
2012-03-15 13:47:50 +00:00
parent 584e99b1b7
commit d58ccf9c1e
5 changed files with 167 additions and 126 deletions

View File

@ -184,7 +184,7 @@ int go_to_position(float p) {
//"caputq X04SA-ES2-TH2:RO p"
//cawait -nounit -timeout 3600 X04SA-ES2-TH2:RO.DMOV '==1'
return p;
return (int)p;
}
/* moves the encoder to position p without waiting */
@ -211,13 +211,13 @@ int go_to_position_no_wait(float p) {
#endif
//"caputq X04SA-ES2-TH2:RO p"
return p;
return (int)p;
pos=p;
return pos;
return (int)pos;
}