From: Matthew Fernandez Date: Thu, 11 Feb 2021 05:33:35 +0000 (-0800) Subject: squash some -Wimplicit-fallthrough compiler warnings X-Git-Tag: 2.47.0~69^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf9fd9940bb82a56e45b1cd49d7244e1e8d13132;p=graphviz squash some -Wimplicit-fallthrough compiler warnings --- diff --git a/lib/common/shapes.c b/lib/common/shapes.c index 1d1261f23..01ec739f4 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -3340,7 +3340,7 @@ static field_t *parse_reclbl(node_t * n, int LR, int flag, char *text) reclblp++; } } - /* falling through ... */ + /* fall through */ default: dotext: if ((mode & HASTABLE) && *reclblp != ' ') diff --git a/lib/sfio/sftable.c b/lib/sfio/sftable.c index b9c35455e..14249708e 100644 --- a/lib/sfio/sftable.c +++ b/lib/sfio/sftable.c @@ -152,7 +152,7 @@ static Fmtpos_t *sffmtpos(Sfio_t * f, const char *form, va_list args, } else if (*form != '*') goto loop_flags; else - form += 1; /* drop through below */ + form += 1; /* fall through */ case '*': form = sffmtint(form, &n); diff --git a/lib/sfio/sfvprintf.c b/lib/sfio/sfvprintf.c index ed03d3e36..16def3240 100644 --- a/lib/sfio/sfvprintf.c +++ b/lib/sfio/sfvprintf.c @@ -245,7 +245,7 @@ int sfvprintf(Sfio_t * f, const char *form, va_list args) } else if (*form != '*') goto loop_flags; do_star: - form += 1; /* fall through for '*' */ + form += 1; /* fall through */ case '*': form = (*_Sffmtintf) (form, &n); if (*form == '$') {