From: Matthew Fernandez Date: Sun, 24 Jul 2022 17:18:40 +0000 (-0700) Subject: ast gobble: squash -Wswitch-default warning X-Git-Tag: 5.0.1~26^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dde4545a99d8881bca14002e8f746755bc5f47bb;p=graphviz ast gobble: squash -Wswitch-default warning --- diff --git a/lib/ast/strmatch.c b/lib/ast/strmatch.c index ad08c551b..447b72723 100644 --- a/lib/ast/strmatch.c +++ b/lib/ast/strmatch.c @@ -142,6 +142,8 @@ static char *gobble(Match_t * mp, char *s, int sub, if (!b && !p && sub == '|') return s; break; + default: // nothing required + break; } }