remove dead code (GH-14104)

default case ought to handle the "unexpected".
1 file changed