From 56abafdc67761908f128c150f460510b86bec161 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 9 Jun 2005 02:37:17 +0000 Subject: Avoid uninitialised fields warnings from GCC 4. --- src/LexBash.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/LexBash.cxx') 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'; -- cgit v1.2.3