Hirohito Higashi wrote:
> > 2016-1-11(Mon) 11:43:51 UTC+9 Tony Mechelynck:
> > > Here is what appears in the Tiny build (the Huge build has the same
> > > warning with a much longer gcc command-line):
> > >
> > > gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall
> > > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ops.o ops.c
> > > ops.c: In function ‘op_addsub’:
> > > ops.c:5419:17: warning: ‘length’ may be used uninitialized in this
> > > function [-Wmaybe-uninitialized]
> > > one_change = do_addsub(oap->op_type, &pos, length, amount);
> >
> > I couldn't reproduce it.
> > But attached patch would be fixed this warning.
> > Please confirm this.
> > Thanks for reporting.
Coverity also caught this. I sent out a patch with your change and more
in 7.4.1088.
--
ARTHUR: Old woman!
DENNIS: Man!
ARTHUR: Man. I'm sorry. Old man, What knight live in that castle over there?
DENNIS: I'm thirty-seven.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.