From: Matthew Fernandez Date: Sun, 19 Jun 2022 17:28:16 +0000 (-0700) Subject: emit_xdot: squash a -Wswitch-default warning X-Git-Tag: 5.0.0~24^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7e2769c34da2b2c8a2b733c5f1e6e4e1f9e89d2;p=graphviz emit_xdot: squash a -Wswitch-default warning This switch is exhaustive. --- diff --git a/lib/common/emit.c b/lib/common/emit.c index 281a8eb8a..261aefb49 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -1576,6 +1577,8 @@ static void emit_xdot (GVJ_t * job, xdot* xd) image_warn = 0; } break; + default: + UNREACHABLE(); } op++; }