From: Matthew Fernandez Date: Sun, 7 Aug 2022 03:41:18 +0000 (-0700) Subject: gvpr parseProg: squash -Wswitch-default warning X-Git-Tag: 5.0.1~15^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e79bae2dbaeccc4bf42700df0217873a593b21cd;p=graphviz gvpr parseProg: squash -Wswitch-default warning This switch is exhaustive. --- diff --git a/lib/gvpr/parse.c b/lib/gvpr/parse.c index 2b0555a5c..72fb7cfe6 100644 --- a/lib/gvpr/parse.c +++ b/lib/gvpr/parse.c @@ -548,6 +548,8 @@ parse_prog *parseProg(char *input, int isFile) case Error: /* to silence warnings */ more = false; break; + default: + UNREACHABLE(); } }