diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2017-09-01 08:53:14 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2017-09-01 08:53:14 +1000 |
commit | 7b287ecd7f8527bb8f47e08090a0120ff418c730 (patch) | |
tree | a0c3341b6b256b6c58fc8703b16624dabac21f1c /src | |
parent | 940747df2c700f88e6c031526637d555d88d76e9 (diff) | |
download | scintilla-mirror-7b287ecd7f8527bb8f47e08090a0120ff418c730.tar.gz |
Use "Falls through" comments to avoid warnings from GCC 7.1.
Diffstat (limited to 'src')
-rw-r--r-- | src/RESearch.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/RESearch.cxx b/src/RESearch.cxx index 9bcea1ce9..65a732ef3 100644 --- a/src/RESearch.cxx +++ b/src/RESearch.cxx @@ -784,6 +784,7 @@ int RESearch::Execute(CharacterIndexer &ci, Sci::Position lp, Sci::Position endp lp++; if (lp >= endp) /* if EOS, fail, else fall through. */ return 0; + // Falls through. default: /* regular matching all the way. */ while (lp < endp) { ep = PMatch(ci, lp, endp, ap); |