Re: warning when building make(1)

2017-07-10 Thread Marc Espie
On Mon, Jul 10, 2017 at 05:14:18PM +0800, Michael W. Bombardieri wrote: > Hi, > > The function build_target_group() produces two warnings when make is > built with CDIAGFLAGS. > > parse.c:1462: warning: ISO C90 forbids mixed declarations and code > parse.c:1462: warning: 'gn2' may be used

warning when building make(1)

2017-07-10 Thread Michael W. Bombardieri
Hi, The function build_target_group() produces two warnings when make is built with CDIAGFLAGS. parse.c:1462: warning: ISO C90 forbids mixed declarations and code parse.c:1462: warning: 'gn2' may be used uninitialized in this function This patch attempts to silence the warnings. - Michael