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 | 087e6160c00805640111407a44087202f5b8033d (patch) | |
tree | 80030c5785185f78c79016371d06e43466c3515c | |
parent | 330f1e0c7e6270612620ec049dc239fea3c6debc (diff) | |
download | scintilla-mirror-087e6160c00805640111407a44087202f5b8033d.tar.gz |
Bug [#2098]. Remove unused variable.
-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 40d7e1f03..8641519f8 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: |