]> granicus.if.org Git - graphviz/commitdiff
squash a -Wimplicit-fallthrough warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 12 Oct 2020 00:37:29 +0000 (17:37 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 20 Oct 2020 01:31:02 +0000 (18:31 -0700)
GCC recognizes "fall through" and "fallthrough" comments to suppress this
warning but not "falling through."

cmd/lefty/dot2l/dot2l.c

index 3c8f26b9c120969afdf13d84646af32e4879bad3..e3674b017ab9e14ee430fbdf299ec43efacd1b37 100644 (file)
@@ -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;