diff options
author | Neil <nyamatongwe@gmail.com> | 2020-08-09 08:42:23 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-08-09 08:42:23 +1000 |
commit | 362f76c99da9db272d6c68e4bbf1b433c90ea4cf (patch) | |
tree | e27bb18aad6111cd5644e88900a40a4e18225bcc /src | |
parent | c75d0454c5e7e4a387da8d3424b97fb9b41d4192 (diff) | |
download | scintilla-mirror-362f76c99da9db272d6c68e4bbf1b433c90ea4cf.tar.gz |
Use [[fallthrough]] to reduce warnings from Visual Studio static analysis.
Diffstat (limited to 'src')
-rw-r--r-- | src/RESearch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RESearch.cxx b/src/RESearch.cxx index a682016bc..262483d88 100644 --- a/src/RESearch.cxx +++ b/src/RESearch.cxx @@ -780,7 +780,7 @@ int RESearch::Execute(const CharacterIndexer &ci, Sci::Position lp, Sci::Positio lp++; if (lp >= endp) /* if EOS, fail, else fall through. */ return 0; - // Falls through. + [[fallthrough]]; default: /* regular matching all the way. */ while (lp < endp) { ep = PMatch(ci, lp, endp, ap); |