diff options
author | Neil <nyamatongwe@gmail.com> | 2019-06-25 12:43:23 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-06-25 12:43:23 +1000 |
commit | 53759e5436863c0bb4e6c015e67e93c711250644 (patch) | |
tree | 154ffe3e5f21fb64110dd5e0647349019b78b168 /lexers/LexSQL.cxx | |
parent | 087e6160c00805640111407a44087202f5b8033d (diff) | |
download | scintilla-mirror-53759e5436863c0bb4e6c015e67e93c711250644.tar.gz |
Avoid cppcheck warnings by using same names in declaration and definition.
Diffstat (limited to 'lexers/LexSQL.cxx')
-rw-r--r-- | lexers/LexSQL.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexSQL.cxx b/lexers/LexSQL.cxx index 8641519f8..a8dd3c393 100644 --- a/lexers/LexSQL.cxx +++ b/lexers/LexSQL.cxx @@ -339,8 +339,8 @@ public : } Sci_Position SCI_METHOD WordListSet(int n, const char *wl) override; - void SCI_METHOD Lex(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, IDocument *pAccess) override; - void SCI_METHOD Fold(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, IDocument *pAccess) override; + void SCI_METHOD Lex(Sci_PositionU startPos, Sci_Position length, int initStyle, IDocument *pAccess) override; + void SCI_METHOD Fold(Sci_PositionU startPos, Sci_Position length, int initStyle, IDocument *pAccess) override; void * SCI_METHOD PrivateCall(int, void *) override { return 0; |