I'm using gcc 4.9.2 and "-O2 -Wall -Wextra -pipe -std=gnu99 -DNDEBUG" as my compiler flags, and got the same warning on both 64-bit Cygwin and 64-bit Ubuntu Linux.
It's possible that older versions of GCC are more forgiving. :-) On Wed, Feb 4, 2015 at 3:56 PM, Bram Moolenaar <[email protected]> wrote: > > Tony wrote: > > > Sorry if this has already been reported, I'm very far behind reading > > mail due to computer slowness (computer won't stay up unless I set > > "Fan: silent (but may reduce CPU performance)" in the BIOS, and this > > makes it *very* slow indeed). > > > > At 7.4.617 (but after updating the Mercurial source up several > > patchlevels without compiling each of them), in Huge Linux64 build but > > not in Tiny build, eval.c gets the following warning: > > > > eval.c: In function ‘garbage_collect’: > > eval.c:6934:5: warning: ‘did_free’ may be used uninitialized in this > function [-Wmaybe-uninitialized] > > return did_free; > > ^ > > > > This does not prevent generation of an object and later of an executable. > > I don't get the warning but I see why it would happen. > > > -- > The CIA drives around in cars with the "Intel inside" logo. > > /// 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 a topic in the > Google Groups "vim_dev" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/vim_dev/LYkqB17eD44/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- *Michael Jarvis* McKinney, TX USA http://about.me/michael.a.jarvis -- -- 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.
