From fa63914254be278b261b2e024cc3acb4a1e4e426 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 11 May 2022 21:03:10 -0700 Subject: [PATCH] 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. --- cmd/tools/gml2gv.c | 1 + 1 file changed, 1 insertion(+) 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(); } -- 2.40.0