diff options
author | Neil <nyamatongwe@gmail.com> | 2014-02-06 09:02:21 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-02-06 09:02:21 +1100 |
commit | ec9b0acbd88659699aac437d5fa84d04552111bd (patch) | |
tree | 9ac29d560dbf4ffcec3dbcdd02e771a2ff5edfdd /lexers/LexFortran.cxx | |
parent | c012e84b6c2cab27d3a5e289cddc628596183f29 (diff) | |
download | scintilla-mirror-ec9b0acbd88659699aac437d5fa84d04552111bd.tar.gz |
Avoid warning for excessive variable scope.
Diffstat (limited to 'lexers/LexFortran.cxx')
-rw-r--r-- | lexers/LexFortran.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lexers/LexFortran.cxx b/lexers/LexFortran.cxx index a91828289..280250c29 100644 --- a/lexers/LexFortran.cxx +++ b/lexers/LexFortran.cxx @@ -316,7 +316,6 @@ static void FoldFortranDoc(unsigned int startPos, int length, int initStyle, isPrevLine = false; } char chNext = styler[startPos]; - char chNextNonBlank; int styleNext = styler.StyleAt(startPos); int style = initStyle; int levelDeltaNext = 0; @@ -327,7 +326,7 @@ static void FoldFortranDoc(unsigned int startPos, int length, int initStyle, for (unsigned int i = startPos; i < endPos; i++) { char ch = chNext; chNext = styler.SafeGetCharAt(i + 1); - chNextNonBlank = chNext; + char chNextNonBlank = chNext; bool nextEOL = false; if (IsALineEnd(chNextNonBlank)) { nextEOL = true; |