aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexBash.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-06-09 02:37:17 +0000
committernyamatongwe <devnull@localhost>2005-06-09 02:37:17 +0000
commit38d1dd480b80a581c55509f856f7ba482c2684f5 (patch)
treee8b07e08fc08e1bfe7b47e9edf68a05a00b4348d /src/LexBash.cxx
parenta92336d84a16e6dbb2f0d7bcd406c809de3fadf1 (diff)
downloadscintilla-mirror-38d1dd480b80a581c55509f856f7ba482c2684f5.tar.gz
Avoid uninitialised fields warnings from GCC 4.
Diffstat (limited to 'src/LexBash.cxx')
-rw-r--r--src/LexBash.cxx3
1 files changed, 3 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';