diff options
author | nyamatongwe <unknown> | 2005-06-09 02:37:17 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2005-06-09 02:37:17 +0000 |
commit | 56abafdc67761908f128c150f460510b86bec161 (patch) | |
tree | e8b07e08fc08e1bfe7b47e9edf68a05a00b4348d /src | |
parent | 4b0aa3b1fbf86f5af8256bd18c3aa12473e45c8b (diff) | |
download | scintilla-mirror-56abafdc67761908f128c150f460510b86bec161.tar.gz |
Avoid uninitialised fields warnings from GCC 4.
Diffstat (limited to 'src')
-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'; |