From 26acd6c65afe86cd5d3d8f12522167afd1db95b0 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Thu, 10 Mar 2022 17:00:29 +0100 Subject: [PATCH] sculpt: suppress non-critical warning --- repos/gems/src/app/sculpt_manager/deploy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/gems/src/app/sculpt_manager/deploy.cc b/repos/gems/src/app/sculpt_manager/deploy.cc index 93464dfa20..719618bcad 100644 --- a/repos/gems/src/app/sculpt_manager/deploy.cc +++ b/repos/gems/src/app/sculpt_manager/deploy.cc @@ -89,7 +89,7 @@ void Sculpt::Deploy::handle_deploy() /* determine CPU architecture of deployment */ _arch = managed_deploy.attribute_value("arch", Arch()); - if (!_arch.valid()) + if ((managed_deploy.type() != "empty") && !_arch.valid()) warning("managed deploy config lacks 'arch' attribute"); try { _children.apply_config(managed_deploy); }