diff options
author | nyamatongwe <unknown> | 2013-01-30 13:46:11 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-01-30 13:46:11 +1100 |
commit | 5f711b9e23add02e797ae4450b1e3e71eb01841b (patch) | |
tree | 293fbe2aa1cd048aa94b2f8e75ba0dd4e9096a9d | |
parent | e990001c1c2714c46363d2f9f0be65550bea7d63 (diff) | |
download | scintilla-mirror-5f711b9e23add02e797ae4450b1e3e71eb01841b.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]; |