Skip to content

Commit 2e1e87e

Browse files
committed
megalinter round 2
1 parent e41229a commit 2e1e87e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎ALICE3/Core/GeometryContainer.cxx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ void GeometryContainer::init(o2::framework::InitContext& initContext)
4040
}
4141
LOG(info) << "Size of detector configuration: " << detectorConfiguration.size();
4242

43-
bool cleanLutWhenLoaded;
44-
const bool foundCleanLutWhenLoaded = common::core::getTaskOptionValue(initContext, "on-the-fly-detector-geometry-provider", "cleanLutWhenLoaded", cleanLutWhenLoaded, false);
43+
bool cleanLut;
44+
const bool foundCleanLutWhenLoaded = common::core::getTaskOptionValue(initContext, "on-the-fly-detector-geometry-provider", "cleanLutWhenLoaded", cleanLut, false);
4545
if (!foundCleanLutWhenLoaded) {
4646
LOG(fatal) << "Could not retrieve foundCleanLutWhenLoaded option from OnTheFlyDetectorGeometryProvider task.";
4747
return;
4848
}
49-
setLutCleanupSetting(cleanLutWhenLoaded);
49+
setLutCleanupSetting(cleanLut);
5050

51-
for (std::string& configFile : detectorConfiguration) {
51+
for (const std::string& configFile : detectorConfiguration) {
5252
LOG(info) << "Detector geometry configuration file used: " << configFile;
5353
addEntry(configFile);
5454
}

0 commit comments

Comments
 (0)