Tony Mechelynck wrote:

> Compiling vim 7.3a (huge) at changeset aa6412cab544 (2010-15-29 20:33:07 
> +0200) on Linux using gcc 4.4.1
> 
>  > undo.c: In function ‘u_read_undo’:
>  > undo.c:1265: warning: ‘uhp’ may be used uninitialized in this function
> 
> I don't feel qualified to determine with certainty whether or not that 
> warning is a false alarm; anyway I suppose it wouldn't hurt to 
> initialize the pointer (a local variable used at lines 1368 to 1530) to 
> NULL at entry into the function.

Thanks for reporting this.  Somehow my compiler doesn't warn for this
type of error.  I need to check the arguments...

It was actually a valid error, there was a free(uhp) that should not be
there.  copy/paste gone wrong.

-- 
I have a watch cat! Just break in and she'll watch.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.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

Raspunde prin e-mail lui