Skip to content
Snippets Groups Projects
Commit ac5ffe88 authored by Eric Torrence's avatar Eric Torrence Committed by Graeme Stewart
Browse files

Fix coverity warnings (CoolLumiUtilities-00-08-02)

	* Fixed coverity warnings
	* Tagged as CoolLumiUtilities-00-08-02
parent 28027bfe
No related branches found
No related tags found
No related merge requests found
......@@ -316,9 +316,9 @@ BunchLumisTool::reloadRawLumi()
}
break;
default:
// This error condition was delt with before
return;
//default:
//return;
}
......
......@@ -19,6 +19,7 @@ MyTestClass::getValue() const {
}
CoolLumiUtilsTestObj::CoolLumiUtilsTestObj() {
m_value = 0;
}
void
......
......@@ -183,8 +183,8 @@ LumiBlobUtil::unpack(const cool::Float &ARI, const coral::Blob &blobBC, const st
m_bunchLumis.push_back(element);
}
BCIDold=0;
}//This ends y=2
AB1 = AB1/len;
} //This ends y=2
if (len > 0) AB1 = AB1/len;
// std::cout << AB1 << std::endl;
} //This ends x=1
if (x==2) {
......@@ -306,10 +306,10 @@ LumiBlobUtil::unpack(const cool::Float &ARI, const coral::Blob &blobBC, const st
for (unsigned int i=(BCIDold); i<3564; i++) {
m_bunchLumis.push_back(element);
}
}//This ends y=2 \
AB1 = AB1/len;
}//This ends y=2
if (len > 0) AB1 = AB1/len;
// std::cout << AB1 << std::endl;
} //This ends x=4 \
} //This ends x=4
} //This ends else
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment