diff options
author | Neil <nyamatongwe@gmail.com> | 2013-06-29 13:16:38 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-06-29 13:16:38 +1000 |
commit | 27a777578407d9d5d60cd4ef50ee68adf47fc264 (patch) | |
tree | ee71fce9d0aede4a86022654dc1dfb8472bd92b0 | |
parent | 092e41d9d52f63110361159210e492981f80142b (diff) | |
download | scintilla-mirror-27a777578407d9d5d60cd4ef50ee68adf47fc264.tar.gz |
Simplify code so that it is understood by cppcheck, avoiding warnings.
-rw-r--r-- | lexers/LexPerl.cxx | 2 | ||||
-rw-r--r-- | lexers/LexRuby.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexPerl.cxx b/lexers/LexPerl.cxx index 7144443c1..de47474c3 100644 --- a/lexers/LexPerl.cxx +++ b/lexers/LexPerl.cxx @@ -580,7 +580,7 @@ void SCI_METHOD LexerPerl::Lex(unsigned int startPos, int length, int initStyle, int Count; int Up, Down; QuoteCls() { - this->New(1); + New(1); } void New(int r = 1) { Rep = r; diff --git a/lexers/LexRuby.cxx b/lexers/LexRuby.cxx index ce75ed68d..833ad5928 100644 --- a/lexers/LexRuby.cxx +++ b/lexers/LexRuby.cxx @@ -254,7 +254,7 @@ class QuoteCls { char Up; char Down; QuoteCls() { - this->New(); + New(); } void New() { Count = 0; |