From: Matthew Fernandez Date: Mon, 12 Oct 2020 00:37:29 +0000 (-0700) Subject: squash a -Wimplicit-fallthrough warning X-Git-Tag: 2.46.0~20^2^2~33^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fa7b8719670d4fa089c2cf3d38ee1c87b841cde;p=graphviz squash a -Wimplicit-fallthrough warning GCC recognizes "fall through" and "fallthrough" comments to suppress this warning but not "falling through." --- diff --git a/cmd/lefty/dot2l/dot2l.c b/cmd/lefty/dot2l/dot2l.c index 3c8f26b9c..e3674b017 100644 --- a/cmd/lefty/dot2l/dot2l.c +++ b/cmd/lefty/dot2l/dot2l.c @@ -150,7 +150,7 @@ static int filllabeltable (Tobj to, int flag) { else if (*(lsp + 1) == ' ') ishardspace = TRUE, lsp++; } - /* falling through ... */ + /* fall through */ default: if ((mode & HASTABLE) && *lsp != ' ') return -1;