From: Matthew Fernandez Date: Thu, 8 Sep 2022 03:40:24 +0000 (-0700) Subject: gvpr getval: squash a -Wswitch-default warning X-Git-Tag: 6.0.1~5^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=492428550788cc9347b2615ddb9fc9466a8bde8b;p=graphviz gvpr getval: squash a -Wswitch-default warning This switch is exhaustive. --- diff --git a/lib/gvpr/compile.c b/lib/gvpr/compile.c index 42768a386..4b3502809 100644 --- a/lib/gvpr/compile.c +++ b/lib/gvpr/compile.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -878,6 +879,8 @@ getval(Expr_t * pgm, Exnode_t * node, Exid_t * sym, Exref_t * ref, case AGOUTEDGE : v.string = "E"; break; + default: + UNREACHABLE(); } break; case F_edge: