summaryrefslogtreecommitdiff
path: root/pcre/pcre_exec.c
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-09-01 15:29:34 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-09-01 15:40:49 +0300
commit7f99381288a280c27f74edb3d4ed6bbad4f172b9 (patch)
treecbdeebbabcccd48cb295255e1224acbdda9f203f /pcre/pcre_exec.c
parent6be93c3b8a1d8c080d73750e3804752ad80f56d1 (diff)
downloadmariadb-git-7f99381288a280c27f74edb3d4ed6bbad4f172b9.tar.gz
Fix compiler warnings
metadata_lock_info_duration[]: Remove the unused variable. Add some comments /* fall through */ to silence -Wimplicit-fallthrough
Diffstat (limited to 'pcre/pcre_exec.c')
-rw-r--r--pcre/pcre_exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pcre/pcre_exec.c b/pcre/pcre_exec.c
index 1a9bdd546ee..70ac2fea381 100644
--- a/pcre/pcre_exec.c
+++ b/pcre/pcre_exec.c
@@ -1053,6 +1053,8 @@ for (;;)
group. At this point, the return is converted into MATCH_NOMATCH so that
previous backup points can be taken. */
+ /* fall through */
+
case OP_ONCE:
case OP_BRA:
case OP_SBRA: