From: Matthew Fernandez Date: Sun, 24 Jul 2022 16:54:52 +0000 (-0700) Subject: ast chrtoi: squash -Wswitch-default warning X-Git-Tag: 5.0.1~26^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc9be03442c07a4f02770e2af3b0590d8e600603;p=graphviz ast chrtoi: squash -Wswitch-default warning --- diff --git a/lib/ast/chrtoi.c b/lib/ast/chrtoi.c index f3af1c740..88bb94dc5 100644 --- a/lib/ast/chrtoi.c +++ b/lib/ast/chrtoi.c @@ -34,6 +34,8 @@ int chrtoi(const char *s) break; case 0: return (c); + default: // nothing required + break; } c = (c << CHAR_BIT) | x; }