diff options
author | Zufu Liu <unknown> | 2019-06-25 12:14:44 +1000 |
---|---|---|
committer | Zufu Liu <unknown> | 2019-06-25 12:14:44 +1000 |
commit | 0a246505ead6ad1db4f94f7fdddbabe3867da39e (patch) | |
tree | bc5f62875ad53307a64b57b986f155ca9a8a7ea6 | |
parent | 489e17fa9fc62f39ae61e83fce7248de489d33de (diff) | |
download | scintilla-mirror-0a246505ead6ad1db4f94f7fdddbabe3867da39e.tar.gz |
Backport: Bug [#2098]. Remove unused variable.
Backport of changeset 7606:dc0272dd104f.
-rw-r--r-- | lexers/LexSQL.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lexers/LexSQL.cxx b/lexers/LexSQL.cxx index c56c8a4da..69e7a1824 100644 --- a/lexers/LexSQL.cxx +++ b/lexers/LexSQL.cxx @@ -442,9 +442,8 @@ void SCI_METHOD LexerSQL::Lex(Sci_PositionU startPos, Sci_Position length, int i LexAccessor styler(pAccess); StyleContext sc(startPos, length, initStyle, styler); int styleBeforeDCKeyword = SCE_SQL_DEFAULT; - Sci_Position offset = 0; - for (; sc.More(); sc.Forward(), offset++) { + for (; sc.More(); sc.Forward()) { // Determine if the current state should terminate. switch (sc.state) { case SCE_SQL_OPERATOR: |