Remove redundant wild-card pattern match

(this would otherwise cause a build-failure with `-Werror`)