Skip to content
Snippets Groups Projects
Commit 20f76770 authored by Shaun Roe's avatar Shaun Roe Committed by Adam Edward Barton
Browse files

22.0-cppcheck-SCT_ConditionsAlgorithms

parent 6b4fc781
No related branches found
No related tags found
5 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!4531222.0-cppcheck-SCT_ConditionsAlgorithms
......@@ -85,7 +85,7 @@ StatusCode SCT_DetectorElementCondAlg::execute(const EventContext& ctx) const
oldEl->getCommonItems(),
readCdo);
oldToNewMap[oldEl] = *newEl;
newEl++;
++newEl;
}
// Set neighbours and other side
......@@ -105,7 +105,7 @@ StatusCode SCT_DetectorElementCondAlg::execute(const EventContext& ctx) const
if (layer) {
newEl->surface().associateLayer(*layer);
}
oldIt++;
++oldIt;
}
// Apply alignment using readCdo passed to SiDetectorElement
......
......@@ -432,7 +432,7 @@ std::pair<StatusCode, unsigned int> SCT_ByteStreamErrorsTool::getErrorCodeWithCa
if (it == whereExected.end()) {
ATH_MSG_ERROR("After fillData in abcdErrorChips, cache does not have an infomation about the " << moduleId);
ATH_MSG_ERROR("Likely cause is a request for for different region");
std::make_pair(StatusCode::FAILURE, 0);
return std::make_pair(StatusCode::FAILURE, 0);
}
return std::make_pair(StatusCode::SUCCESS, it->second);
}
......
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