removing warnings shown from esrf debian

This commit is contained in:
Dhanya Maliakal 2017-04-11 13:39:28 +02:00
parent 4730c8c0a9
commit 0c9ac8911a
2 changed files with 3 additions and 5 deletions

View File

@ -3728,7 +3728,7 @@ int slsDetector::updateDetectorNoWait() {
// int ret=OK;
enum detectorSettings t;
int thr, n, nm = 0;
int thr, n = 0, nm;
// int it;
int64_t retval;// tns=-1;
char lastClientIP[INET_ADDRSTRLEN];
@ -7806,7 +7806,7 @@ string slsDetector::getReceiverLastClientIP(){
int slsDetector::updateReceiverNoWait() {
int n,ind = 0;
int n = 0,ind;
char path[MAX_STR_LENGTH];
char lastClientIP[INET_ADDRSTRLEN];

View File

@ -5363,13 +5363,11 @@ string slsDetectorCommand::cmdPulse(int narg, char *args[], int action) {
}
return string("");
/*
if(retval == OK)
return string(" successful");
else
return string(" failed");
*/
}