summaryrefslogtreecommitdiff
path: root/extmod
diff options
context:
space:
mode:
authorJeff Epler <jeff@adafruit.com>2020-09-13 21:28:51 -0500
committerGitHub <noreply@github.com>2020-09-13 21:28:51 -0500
commit814339abb952cd17da8f31c273315eaf9d075c43 (patch)
tree58809a519c393b33bfb864b7c208e6372683b16e /extmod
parent9409a2c34cc27c048f97f79948de43713c8078a0 (diff)
parentb3bdd4686bd5f4a7c91972b9b0f65e624a7eab95 (diff)
Merge pull request #3405 from jepler/implicit-fallthrough-diagnostic
Enable implicit fallthrough diagnostic, note intentional fallthroughs.
Diffstat (limited to 'extmod')
-rw-r--r--extmod/re1.5/recursiveloop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/re1.5/recursiveloop.c b/extmod/re1.5/recursiveloop.c
index bb337decf..5c1f37a5a 100644
--- a/extmod/re1.5/recursiveloop.c
+++ b/extmod/re1.5/recursiveloop.c
@@ -22,6 +22,7 @@ recursiveloop(char *pc, const char *sp, Subject *input, const char **subp, int n
case Char:
if(*sp != *pc++)
return 0;
+ /* FALLTHROUGH */
case Any:
sp++;
continue;