diff options
author | nyamatongwe <devnull@localhost> | 2005-02-02 09:53:04 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2005-02-02 09:53:04 +0000 |
commit | b5cd2fc24d637411e3eb45539fe72590d30cc74d (patch) | |
tree | f3280c497c81ae162a86790028a580783da4981d /src | |
parent | a6f2062f04d65367e3126a9c0d278a5ae0ff658b (diff) | |
download | scintilla-mirror-b5cd2fc24d637411e3eb45539fe72590d30cc74d.tar.gz |
Applied warning avoidance patch from SourceForge bug report
1080091.
Diffstat (limited to 'src')
-rw-r--r-- | src/LexFortran.cxx | 6 |
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; |