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 | f3f895515bf657ed1309faac27dfd0bd5943979e (patch) | |
| tree | 3b5faeaed96842cdeabd5cbf63373b7396ebddbe | |
| parent | 279ff3d3033ba1cf2d5d2aa15651a51f156a365a (diff) | |
| download | scintilla-mirror-f3f895515bf657ed1309faac27dfd0bd5943979e.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; |
