aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-03-18 09:20:34 +1100
committernyamatongwe <devnull@localhost>2011-03-18 09:20:34 +1100
commitaa530371b332d92555b1819ec9bde36fdeee994c (patch)
tree03ee5c1c913558a5e2fabdc37d11401e5ea3d2af
parente35bdaa40388d858b19fcfa054d5cc73d8d5dc6e (diff)
downloadscintilla-mirror-aa530371b332d92555b1819ec9bde36fdeee994c.tar.gz
Removed unused variable.
-rw-r--r--lexers/LexModula.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/lexers/LexModula.cxx b/lexers/LexModula.cxx
index f8a270c29..1d0361165 100644
--- a/lexers/LexModula.cxx
+++ b/lexers/LexModula.cxx
@@ -254,20 +254,17 @@ static void FoldModulaDoc( unsigned int startPos,
int clv_old = curLevel;
int pos;
char ch;
- bool found;
int clv_new;
while( cln > 0 ) {
clv_new = styler.LevelAt( cln - 1 ) >> 16;
if( clv_new < clv_old ) {
nextLevel--;
pos = styler.LineStart( cln );
- found = false;
while( ( ch = styler.SafeGetCharAt( pos ) ) != '\n' ) {
if( ch == 'P' ) {
if( styler.StyleAt(pos) == SCE_MODULA_KEYWORD ) {
if( checkKeyIdentOper( styler, pos, endPos,
"PROCEDURE", '(' ) ) {
- found = true;
break;
}
}