From ae63e6cd756019b0b7b72da91a77559e72eb0305 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 21 Jul 2003 00:30:24 +0000 Subject: Fixed warning from Borland. --- src/LexPS.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/LexPS.cxx b/src/LexPS.cxx index d73a190e9..97834862f 100644 --- a/src/LexPS.cxx +++ b/src/LexPS.cxx @@ -64,7 +64,7 @@ static void ColourisePSDoc( WordList &keywords5 = *keywordlists[4]; StyleContext sc(startPos, length, initStyle, styler); - + bool tokenizing = styler.GetPropertyInt("ps.tokenize") != 0; int pslevel = styler.GetPropertyInt("ps.level", 3); int lineCurrent = styler.GetLine(startPos); @@ -289,7 +289,7 @@ static void FoldPSDoc(unsigned int startPos, int length, int initStyle, WordList int levelNext = levelCurrent; char chNext = styler[startPos]; int styleNext = styler.StyleAt(startPos); - int style = initStyle; + int style; for (unsigned int i = startPos; i < endPos; i++) { char ch = chNext; chNext = styler.SafeGetCharAt(i + 1); -- cgit v1.2.3