From 7ce460fb03bc43103a6ad8365722b6403ee73533f247b716c2b99d601b0a00db Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 15 Dec 2024 11:32:18 +0300 Subject: [PATCH] Remove unneeded code --- cyac/cmd/print-items/print-items.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cyac/cmd/print-items/print-items.c b/cyac/cmd/print-items/print-items.c index 72331ca..230ec59 100644 --- a/cyac/cmd/print-items/print-items.c +++ b/cyac/cmd/print-items/print-items.c @@ -95,10 +95,6 @@ printer( // NOLINT(misc-no-recursion) NoColour ? "" : ColourReset); } struct YACItem *item = &(items->list[idx]); - if (item->atom.typ == YACItemEOC) { - indent--; - assert(indent >= 0); - } printIndent(indent); if (inList) { fprintf( -- 2.50.0