Undo stupid clang lint

This commit is contained in:
Alejandro Cabeza Romero 2026-02-02 17:38:15 +01:00
parent 7671cf7165
commit d86b4b0292
No known key found for this signature in database
GPG Key ID: DA3D14AE478030FD

View File

@ -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 {