aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexVHDL.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-05-04 05:27:26 +0000
committernyamatongwe <devnull@localhost>2010-05-04 05:27:26 +0000
commita253fd18fde8ca3e012430f8bbef928a2d22b2a2 (patch)
tree5edb502dcc1a8e8f763d5fbb6d0b92545c718c38 /src/LexVHDL.cxx
parent3bea1c2deceda1550a1aef4892b6e65451e5c599 (diff)
downloadscintilla-mirror-a253fd18fde8ca3e012430f8bbef928a2d22b2a2.tar.gz
Fixed some warnings from clang --analyze.
Diffstat (limited to 'src/LexVHDL.cxx')
-rw-r--r--src/LexVHDL.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/LexVHDL.cxx b/src/LexVHDL.cxx
index c082cdb92..bd9a0a8ee 100644
--- a/src/LexVHDL.cxx
+++ b/src/LexVHDL.cxx
@@ -249,7 +249,6 @@ static void FoldNoBoxVHDLDoc(
char chPrev = '\0';
char chNextNonBlank;
int styleNext = styler.StyleAt(startPos);
- int style = initStyle;
//Platform::DebugPrintf("Line[%04d] Prev[%20s] ************************* Level[%x]\n", lineCurrent+1, prevWord, levelCurrent);
/***************************************/
@@ -265,7 +264,7 @@ static void FoldNoBoxVHDLDoc(
j ++ ;
chNextNonBlank = styler.SafeGetCharAt(j);
}
- style = styleNext;
+ int style = styleNext;
styleNext = styler.StyleAt(i + 1);
bool atEOL = (ch == '\r' && chNext != '\n') || (ch == '\n');