diff options
author | nyamatongwe <devnull@localhost> | 2013-01-30 13:46:11 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-01-30 13:46:11 +1100 |
commit | 12d2c91b2c2fa3b78269d2a875abcffe7ac604e2 (patch) | |
tree | 0d726e950450f4d9f95816aca11a339d19d54331 | |
parent | b8a38e3f74bc47918e78e982d80cc8b27f3a639d (diff) | |
download | scintilla-mirror-12d2c91b2c2fa3b78269d2a875abcffe7ac604e2.tar.gz |
Fix clang --analyze warnings.
-rw-r--r-- | lexers/LexPO.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexPO.cxx b/lexers/LexPO.cxx index dbb241fef..7b44107cf 100644 --- a/lexers/LexPO.cxx +++ b/lexers/LexPO.cxx @@ -167,9 +167,9 @@ static void FoldPODoc(unsigned int startPos, int length, int, WordList *[], Acce unsigned int endPos = startPos + length; int curLine = styler.GetLine(startPos); int lineState = styler.GetLineState(curLine); - int nextLineState = lineState; + int nextLineState; int level = styler.LevelAt(curLine) & SC_FOLDLEVELNUMBERMASK; - int nextLevel = level; + int nextLevel; int visible = 0; int chNext = styler[startPos]; |