From: Matthew Fernandez Date: Thu, 28 Jul 2022 02:08:38 +0000 (-0700) Subject: gvpr cloneO: squash a -Wswitch-default warning X-Git-Tag: 5.0.1~25^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f35f3a97e948d922fc07ea046f94d5dcd576b198;p=graphviz gvpr cloneO: squash a -Wswitch-default warning This switch is exhaustive. --- diff --git a/lib/gvpr/actions.c b/lib/gvpr/actions.c index ad44a084f..1c0b8fd04 100644 --- a/lib/gvpr/actions.c +++ b/lib/gvpr/actions.c @@ -413,6 +413,8 @@ Agobj_t *cloneO(Agraph_t * g, Agobj_t * obj) if (nobj) copyAttr(obj, nobj); break; + default: + UNREACHABLE(); } return nobj;