Skip to content
Snippets Groups Projects

LArCondTools: Fix cppcheck warning.

Merged Scott Snyder requested to merge ssnyder/athena:cppcheck.LArCondTools-20240125 into main
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
/*
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
/**
@@ -828,7 +828,7 @@ StatusCode FixLArElecCalib::fix5 ATLAS_NOT_THREAD_SAFE (const LArOnOffIdMapping
while ( infile>>str_id >>vol>>noise_p>>noise_h>>noise_m>>noise_l )
{
const char* ch_id = str_id.c_str();
if(str_id.find('A')!=0){
if(ch_id[0] != 'A') {
ATH_MSG_DEBUG(" skipping string"<<str_id);
continue;
}
Loading