From: Matthew Fernandez Date: Sat, 28 Jan 2023 16:44:13 +0000 (-0800) Subject: common emit_edge_label: abbreviate an 'UNREACHABLE' pattern X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab495bf3a0fd1bd5552b94b73dfffd9743fb3009;p=graphviz common emit_edge_label: abbreviate an 'UNREACHABLE' pattern --- diff --git a/lib/common/emit.c b/lib/common/emit.c index 40dabdacf..91df063f4 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -2692,8 +2692,7 @@ emit_edge_label(GVJ_t* job, textlabel_t* lbl, emit_state_t lkind, int explicit, type = "taillabel"; break; default : - assert (0); - break; + UNREACHABLE(); } agxbprint(&xb, "%s-%s", id, type); newid = agxbuse(&xb);