From c8de0312f6361daaf1bcae7cf6b247f50f5e68b5 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 24 Jul 2022 10:07:01 -0700 Subject: [PATCH] ast stresc: squash -Wswitch-default warning --- lib/ast/stresc.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.50.1