cairo-fsm: Remove dead code in xr_fsm_create().
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 11 Jan 2021 02:03:09 +0000 (18:03 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 11 Jan 2021 02:03:09 +0000 (18:03 -0800)
This code can't be reached because code above it exits the function in the
case that it handles.

src/output/cairo-fsm.c

index fcbbbc649cf84ec029de0a676d4d1bc74f6d2d9f..9b1be30832c94b34768eabab712fa0bc771bfbfa 100644 (file)
@@ -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)