aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-02-02 09:53:04 +0000
committernyamatongwe <unknown>2005-02-02 09:53:04 +0000
commitef770885361a98256e07969ee9a0fc404db72538 (patch)
treef3280c497c81ae162a86790028a580783da4981d
parenta2d6eb599365f7c3afb42434fd571b23e043d1af (diff)
downloadscintilla-mirror-ef770885361a98256e07969ee9a0fc404db72538.tar.gz
Applied warning avoidance patch from SourceForge bug report
1080091.
-rw-r--r--src/LexFortran.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/LexFortran.cxx b/src/LexFortran.cxx
index 0cc7342e6..3ab1116ea 100644
--- a/src/LexFortran.cxx
+++ b/src/LexFortran.cxx
@@ -273,9 +273,11 @@ static void FoldFortranDoc(unsigned int startPos, int length, int initStyle,
int style = initStyle;
/***************************************/
int lastStart = 0;
- char prevWord[32] = "", Label[6] = "";
+ char prevWord[32] = "";
+ char Label[6] = "";
// Variables for do label folding.
- static int doLabels[100], posLabel=-1;
+ static int doLabels[100];
+ static int posLabel=-1;
/***************************************/
for (unsigned int i = startPos; i < endPos; i++) {
char ch = chNext;