diff options
author | nyamatongwe <devnull@localhost> | 2005-06-09 02:37:17 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2005-06-09 02:37:17 +0000 |
commit | 38d1dd480b80a581c55509f856f7ba482c2684f5 (patch) | |
tree | e8b07e08fc08e1bfe7b47e9edf68a05a00b4348d | |
parent | a92336d84a16e6dbb2f0d7bcd406c809de3fadf1 (diff) | |
download | scintilla-mirror-38d1dd480b80a581c55509f856f7ba482c2684f5.tar.gz |
Avoid uninitialised fields warnings from GCC 4.
-rw-r--r-- | src/LexBash.cxx | 3 | ||||
-rw-r--r-- | src/LexPerl.cxx | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/LexBash.cxx b/src/LexBash.cxx index abd02c46b..809a396da 100644 --- a/src/LexBash.cxx +++ b/src/LexBash.cxx @@ -144,6 +144,9 @@ static void ColouriseBashDoc(unsigned int startPos, int length, int initStyle, char *Delimiter; // the Delimiter, 256: sizeof PL_tokenbuf HereDocCls() { State = 0; + Quote = 0; + Quoted = false; + Indent = 0; DelimiterLength = 0; Delimiter = new char[HERE_DELIM_MAX]; Delimiter[0] = '\0'; diff --git a/src/LexPerl.cxx b/src/LexPerl.cxx index d6a34b910..06f8f603d 100644 --- a/src/LexPerl.cxx +++ b/src/LexPerl.cxx @@ -133,6 +133,8 @@ static void ColourisePerlDoc(unsigned int startPos, int length, int initStyle, char *Delimiter; // the Delimiter, 256: sizeof PL_tokenbuf HereDocCls() { State = 0; + Quote = 0; + Quoted = false; DelimiterLength = 0; Delimiter = new char[HERE_DELIM_MAX]; Delimiter[0] = '\0'; |