From d86b4b0292078503d268e0b932f813be5c49c1ad Mon Sep 17 00:00:00 2001 From: Alejandro Cabeza Romero Date: Mon, 2 Feb 2026 17:38:15 +0100 Subject: [PATCH] Undo stupid clang lint --- src/logos_blockchain_module.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/logos_blockchain_module.cpp b/src/logos_blockchain_module.cpp index 78c8457..9139fcc 100644 --- a/src/logos_blockchain_module.cpp +++ b/src/logos_blockchain_module.cpp @@ -32,7 +32,8 @@ int LogosBlockchainModule::start(const QString& config_path, const QString& depl QString effective_config_path= config_path; if (effective_config_path.isEmpty()) { - if (const char* env = std::getenv("LB_CONFIG_PATH"); env && *env) { + const char* env = std::getenv("LB_CONFIG_PATH"); + if (env && *env) { effective_config_path = QString::fromUtf8(env); qInfo() << "Using config from LB_CONFIG_PATH:" << effective_config_path; } else {