From 565527c9a6c5aa0161f421066ac2e07357b34571 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 30 Aug 2025 13:54:42 -0400 Subject: Avoid inline ifs --- src/formatter/formatter.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/formatter/formatter.c b/src/formatter/formatter.c index a120b9de..5e34960f 100644 --- a/src/formatter/formatter.c +++ b/src/formatter/formatter.c @@ -430,8 +430,6 @@ Text_t format_code(ast_t *ast, Table_t comments, Text_t indent) { } /*multiline*/ case If: { DeclareMatch(if_, ast, If); - if (inlined_fits && if_->else_body == NULL) return inlined; - Text_t code = Texts("if ", fmt(if_->condition, comments, indent), "\n", indent, single_indent, fmt(if_->body, comments, Texts(indent, single_indent))); if (if_->else_body) { -- cgit v1.2.3