From: Matthew Fernandez Date: Sun, 24 Jul 2022 17:07:01 +0000 (-0700) Subject: ast stresc: squash -Wswitch-default warning X-Git-Tag: 5.0.1~26^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8de0312f6361daaf1bcae7cf6b247f50f5e68b5;p=graphviz ast stresc: squash -Wswitch-default warning --- diff --git a/lib/ast/stresc.c b/lib/ast/stresc.c index 75c2d118d..fc7b2470c 100644 --- a/lib/ast/stresc.c +++ b/lib/ast/stresc.c @@ -33,6 +33,8 @@ void stresc(char *s) case 0: *t = 0; return; + default: // nothing required + break; } *t++ = c; }