From: Matthew Fernandez Date: Sun, 7 Aug 2022 03:39:42 +0000 (-0700) Subject: gvpr parseCase: squash -Wswitch-default warning X-Git-Tag: 5.0.1~15^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f4f6100b85c4776da202842f6c7c401b3941efa;p=graphviz gvpr parseCase: squash -Wswitch-default warning This switch is exhaustive. --- diff --git a/lib/gvpr/parse.c b/lib/gvpr/parse.c index 104ffc26d..2b0555a5c 100644 --- a/lib/gvpr/parse.c +++ b/lib/gvpr/parse.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -374,6 +375,8 @@ parseCase(Sfio_t * str, char **guard, int *gline, char **action, case Eof: case Error: /* to silence warnings */ break; + default: + UNREACHABLE(); } agxbfree(&buf);