Skip to content
Snippets Groups Projects
Commit 0089e379 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch '22.0-cppcheck-SCT_ConditionsAlgorithms' into 'master'

22.0-cppcheck-SCT_ConditionsAlgorithms

See merge request atlas/athena!45312
parents 66d19a3b 20f76770
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 ...@@ -85,7 +85,7 @@ StatusCode SCT_DetectorElementCondAlg::execute(const EventContext& ctx) const
oldEl->getCommonItems(), oldEl->getCommonItems(),
readCdo); readCdo);
oldToNewMap[oldEl] = *newEl; oldToNewMap[oldEl] = *newEl;
newEl++; ++newEl;
} }
// Set neighbours and other side // Set neighbours and other side
...@@ -105,7 +105,7 @@ StatusCode SCT_DetectorElementCondAlg::execute(const EventContext& ctx) const ...@@ -105,7 +105,7 @@ StatusCode SCT_DetectorElementCondAlg::execute(const EventContext& ctx) const
if (layer) { if (layer) {
newEl->surface().associateLayer(*layer); newEl->surface().associateLayer(*layer);
} }
oldIt++; ++oldIt;
} }
// Apply alignment using readCdo passed to SiDetectorElement // Apply alignment using readCdo passed to SiDetectorElement
......
...@@ -432,7 +432,7 @@ std::pair<StatusCode, unsigned int> SCT_ByteStreamErrorsTool::getErrorCodeWithCa ...@@ -432,7 +432,7 @@ std::pair<StatusCode, unsigned int> SCT_ByteStreamErrorsTool::getErrorCodeWithCa
if (it == whereExected.end()) { if (it == whereExected.end()) {
ATH_MSG_ERROR("After fillData in abcdErrorChips, cache does not have an infomation about the " << moduleId); 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"); 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); 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