aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2013-01-30 13:46:11 +1100
committernyamatongwe <unknown>2013-01-30 13:46:11 +1100
commit5f711b9e23add02e797ae4450b1e3e71eb01841b (patch)
tree293fbe2aa1cd048aa94b2f8e75ba0dd4e9096a9d
parente990001c1c2714c46363d2f9f0be65550bea7d63 (diff)
downloadscintilla-mirror-5f711b9e23add02e797ae4450b1e3e71eb01841b.tar.gz
Fix clang --analyze warnings.
-rw-r--r--lexers/LexPO.cxx4
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];