On Thu, Aug 06, 2015 at 08:49:52AM +1000, Dave Chinner wrote: > From: Dave Chinner <dchinner@xxxxxxxxxx> > > New versions of gcc barf on the conversion table code in > db/convert.c. Shut it up by initialising the conversion array. > > Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx> > --- Reviewed-by: Brian Foster <bfoster@xxxxxxxxxx> > db/convert.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/db/convert.c b/db/convert.c > index 09f9225..a337abe 100644 > --- a/db/convert.c > +++ b/db/convert.c > @@ -157,7 +157,7 @@ convert_f(int argc, char **argv) > { > ctype_t c; > int conmask; > - cval_t cvals[NCTS]; > + cval_t cvals[NCTS] = {}; > int i; > int mask; > __uint64_t v; > -- > 2.1.4 > > _______________________________________________ > xfs mailing list > xfs@xxxxxxxxxxx > http://oss.sgi.com/mailman/listinfo/xfs _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs