Remove dead code from varobj_set_display_format
authorTom Tromey <tromey@adacore.com>
Thu, 31 Aug 2023 18:11:46 +0000 (12:11 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 7 Sep 2023 20:04:53 +0000 (14:04 -0600)
commit665b55a92ed514d4eb32f78278dd7f0e39865f04
tree939ff03f75c40b5e08ba3b16720834e22a72aa68
parentaa15623fe68b3151ed54a7365b5a5226b538851a
Remove dead code from varobj_set_display_format

varobj_set_display_format takes an enum and exhaustively switches on
the values -- but also has a default.  This default case is dead code.

Reviewed-by: Keith Seitz <keiths@redhat.com>
gdb/varobj.c