Loading ...
Sorry, an error occurred while loading the content.

Re: small patch preventing a gcc warning

Expand Messages
  • Bram Moolenaar
    ... Thanks, I ll include it. -- ... /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net /// sponsor Vim, vote for features --
    Message 1 of 2 , Jul 6, 2012
    • 0 Attachment
      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 -- Bram@... -- 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
    Your message has been successfully submitted and would be delivered to recipients shortly.