Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[CPU][DEBUG_CAPS] Hotfix for env vars handling (#29477)

Arseniy Obolenskiyd0a4a2270b5e
diff --git a/src/plugins/intel_cpu/src/utils/debug_caps_config.cpp b/src/plugins/intel_cpu/src/utils/debug_caps_config.cpp
index b70005ef2ee..1cc9c2a23ab 100644
--- a/src/plugins/intel_cpu/src/utils/debug_caps_config.cpp
+++ b/src/plugins/intel_cpu/src/utils/debug_caps_config.cpp
@@ -77,7 +77,7 @@ void DebugCapsConfig::readProperties() {
averageCountersPath = envVarValue;
}
- if ((envVarValue = readEnv("OV_CPU_MEMORY_STATISTICS_PATH"))) {
+ if (auto envVarValue = readEnv("OV_CPU_MEMORY_STATISTICS_PATH")) {
memoryStatisticsDumpPath = envVarValue;
}
}