From ec6ea4ea92d557eed4a64497a79cfefbbb2fb1a9 Mon Sep 17 00:00:00 2001 From: Ole Herman Schumacher Elgesem <4048546+olehermanse@users.noreply.github.com> Date: Tue, 12 May 2026 14:30:55 +0200 Subject: [PATCH] Fix for Unused local variable Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- src/cfengine_cli/format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cfengine_cli/format.py b/src/cfengine_cli/format.py index 0979f82..3e27335 100644 --- a/src/cfengine_cli/format.py +++ b/src/cfengine_cli/format.py @@ -812,7 +812,7 @@ def _autoformat( fmt.blank_line() fmt.macro_indent = indent elif text(node).startswith("@else"): - indent = fmt.macro_indent + pass fmt.print(node, 0) return