Re: [PATCH] awk: initialisation of struct

2013-01-06 Thread Michael W. Bombardieri
On Thu, Jan 03, 2013 at 09:23:50PM -0800, Philip Guenther wrote: > On Thu, Jan 3, 2013 at 8:48 PM, Michael W. Bombardieri wrote: > > I am submitting a patch for awk. "struct Cell" has 7 fields; > > the final field is an optional "next" pointer. > ... > > Splint identified that instances of Cell ar

Re: [PATCH] awk: initialisation of struct

2013-01-03 Thread Philip Guenther
On Thu, Jan 3, 2013 at 8:48 PM, Michael W. Bombardieri wrote: > I am submitting a patch for awk. "struct Cell" has 7 fields; > the final field is an optional "next" pointer. ... > Splint identified that instances of Cell are initialised with only 6 > fields, e.g. > > run.c:78:24: Initializer block

[PATCH] awk: initialisation of struct

2013-01-03 Thread Michael W. Bombardieri
Hi, I am submitting a patch for awk. "struct Cell" has 7 fields; the final field is an optional "next" pointer. 79 typedef struct Cell { 80 uschar ctype; /* OCELL, OBOOL, OJUMP, etc. */ 81 uschar csub; /* CCON, CTEMP, CFLD, etc. */ 82 char*nval; /* name, for