From: Matthew Fernandez Date: Thu, 12 May 2022 04:03:10 +0000 (-0700) Subject: gml2gv: silence a -Wimplicit-fallthrough warning X-Git-Tag: 4.0.0~37^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa63914254be278b261b2e024cc3acb4a1e4e426;p=graphviz gml2gv: silence a -Wimplicit-fallthrough warning All paths in this case end in a call to `exit`. But the compiler is apparently unable to determine this, so use an explicit `break` to suppress a false positive warning. --- diff --git a/cmd/tools/gml2gv.c b/cmd/tools/gml2gv.c index fc46406df..cb94b65a0 100644 --- a/cmd/tools/gml2gv.c +++ b/cmd/tools/gml2gv.c @@ -120,6 +120,7 @@ static void initargs(int argc, char **argv) optopt); usage(1); } + break; default: UNREACHABLE(); }