Christian Brabandt wrote:

> the following patch fixes this gcc warning:
> 
> buffer.c: In Funktion »set_curbuf«:
> buffer.c:1367:12: Warnung: Deklaration von »prevwin« überdeckt eine globale 
> Deklaration [-Wshadow]
> globals.h:535:15: Warnung: verdeckte Deklaration ist hier [-Wshadow]
> 
> It also moves the declaration of the win_T variable a little bit further 
> down, since it is only needed in one single block.

Thanks, I'll include it.


-- 
>From "know your smileys":
 :-F    Bucktoothed vampire with one tooth missing

 /// 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

Raspunde prin e-mail lui