On Wednesday, February 4, 2015 at 6:48:45 AM UTC-6, Tony Mechelynck 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.
>
>
> Best regards,
> Tony.
Thanks, it looks like did_free needs to be initialized to FALSE in case setting
references is aborted. It looks like I need to enable some compiler warning
options on my Windows build setup at home. :-(
--
--
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.
*** eval.c.orig Thu Jan 29 11:38:46 2015
--- eval.c Wed Feb 4 10:11:06 2015
***************
*** 6815,6821 ****
win_T *wp;
int i;
funccall_T *fc, **pfc;
! int did_free;
int did_free_funccal = FALSE;
#ifdef FEAT_WINDOWS
tabpage_T *tp;
--- 6815,6821 ----
win_T *wp;
int i;
funccall_T *fc, **pfc;
! int did_free = FALSE;
int did_free_funccal = FALSE;
#ifdef FEAT_WINDOWS
tabpage_T *tp;