From 3ad7936615cf7e9277e25a963364c3613a0cf6d9 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 10 Jan 2021 18:03:09 -0800 Subject: [PATCH] cairo-fsm: Remove dead code in xr_fsm_create(). This code can't be reached because code above it exits the function in the case that it handles. --- src/output/cairo-fsm.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/output/cairo-fsm.c b/src/output/cairo-fsm.c index fcbbbc649c..9b1be30832 100644 --- a/src/output/cairo-fsm.c +++ b/src/output/cairo-fsm.c @@ -1013,14 +1013,6 @@ xr_fsm_create (const struct output_item *item_, to_text_item ( output_item_ref (item_)))); } - else if (is_group_open_item (item_)) - { - item = table_item_super ( - text_item_to_table_item ( - text_item_create (TEXT_ITEM_TITLE, - to_group_open_item (item_)->command_name, - NULL))); - } else NOT_REACHED (); assert (is_table_item (item) -- 2.30.2