]> granicus.if.org Git - graphviz/commitdiff
ast stresc: squash -Wswitch-default warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 24 Jul 2022 17:07:01 +0000 (10:07 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 30 Jul 2022 00:02:14 +0000 (17:02 -0700)
lib/ast/stresc.c

index 75c2d118dd4687d764f0133d289d81ae8e82d9c2..fc7b2470c0ed5893d6779603ef6d20b6e25a3d72 100644 (file)
@@ -33,6 +33,8 @@ void stresc(char *s)
        case 0:
            *t = 0;
            return;
+       default: // nothing required
+           break;
        }
        *t++ = c;
     }