diff --git a/Modules/TPC/src/AtmosPressureReductor.cxx b/Modules/TPC/src/AtmosPressureReductor.cxx index 5b90af35a..3e42506e3 100644 --- a/Modules/TPC/src/AtmosPressureReductor.cxx +++ b/Modules/TPC/src/AtmosPressureReductor.cxx @@ -37,7 +37,7 @@ bool AtmosPressureReductor::update(ConditionRetriever& retriever) std::vector pressureValues; // Cavern pressure 1 - for (const auto& [time, p] : env->mEnvVars["CavernAtmosPressure"]) { + for ([[maybe_unused]] const auto& [time, p] : env->mEnvVars["CavernAtmosPressure"]) { pressureValues.emplace_back((float)p); } calcMeanAndStddev(pressureValues, mStats.cavernPressure1, mStats.errCavernPressure1); @@ -51,7 +51,7 @@ bool AtmosPressureReductor::update(ConditionRetriever& retriever) pressureValues.clear(); // Surface pressure - for (const auto& [time, p] : env->mEnvVars["SurfaceAtmosPressure"]) { + for ([[maybe_unused]] const auto& [time, p] : env->mEnvVars["SurfaceAtmosPressure"]) { pressureValues.emplace_back((float)p); } calcMeanAndStddev(pressureValues, mStats.surfacePressure, mStats.errSurfacePressure);