From 12d2c91b2c2fa3b78269d2a875abcffe7ac604e2 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 30 Jan 2013 13:46:11 +1100 Subject: Fix clang --analyze warnings. --- lexers/LexPO.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lexers') 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]; -- cgit v1.2.3