Karsten Hopp 81c285
To: vim-dev@vim.org
Karsten Hopp 81c285
Subject: Patch 7.2.171
Karsten Hopp 81c285
Fcc: outbox
Karsten Hopp 81c285
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 81c285
Mime-Version: 1.0
Karsten Hopp 81c285
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 81c285
Content-Transfer-Encoding: 8bit
Karsten Hopp 81c285
------------
Karsten Hopp 81c285
Karsten Hopp 81c285
Patch 7.2.171 (after 7.2.169)
Karsten Hopp 81c285
Problem:    Compiler warnings. (Tony Mechelynck)
Karsten Hopp 81c285
Solution:   Add function prototype. (Patrick Texier)  Init variable.
Karsten Hopp 81c285
Files:	    src/ex_cmds.c
Karsten Hopp 81c285
Karsten Hopp 81c285
Karsten Hopp 81c285
*** ../vim-7.2.170/src/ex_cmds.c	2009-05-13 18:54:14.000000000 +0200
Karsten Hopp 81c285
--- src/ex_cmds.c	2009-05-14 21:11:01.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 4637,4643 ****
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  		if (do_ask)
Karsten Hopp 81c285
  		{
Karsten Hopp 81c285
! 		    int typed;
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  		    /* change State to CONFIRM, so that the mouse works
Karsten Hopp 81c285
  		     * properly */
Karsten Hopp 81c285
--- 4635,4641 ----
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  		if (do_ask)
Karsten Hopp 81c285
  		{
Karsten Hopp 81c285
! 		    int typed = 0;
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  		    /* change State to CONFIRM, so that the mouse works
Karsten Hopp 81c285
  		     * properly */
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 6553,6558 ****
Karsten Hopp 81c285
--- 6549,6555 ----
Karsten Hopp 81c285
  static sign_T	*first_sign = NULL;
Karsten Hopp 81c285
  static int	last_sign_typenr = MAX_TYPENR;	/* is decremented */
Karsten Hopp 81c285
  
Karsten Hopp 81c285
+ static int sign_cmd_idx __ARGS((char_u *begin_cmd, char_u *end_cmd));
Karsten Hopp 81c285
  static void sign_list_defined __ARGS((sign_T *sp));
Karsten Hopp 81c285
  static void sign_undefine __ARGS((sign_T *sp, sign_T *sp_prev));
Karsten Hopp 81c285
  
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 6579,6586 ****
Karsten Hopp 81c285
   */
Karsten Hopp 81c285
      static int
Karsten Hopp 81c285
  sign_cmd_idx(begin_cmd, end_cmd)
Karsten Hopp 81c285
!     char	*begin_cmd;	/* begin of sign subcmd */
Karsten Hopp 81c285
!     char	*end_cmd;	/* just after sign subcmd */
Karsten Hopp 81c285
  {
Karsten Hopp 81c285
      int		idx;
Karsten Hopp 81c285
      char	save = *end_cmd;
Karsten Hopp 81c285
--- 6576,6583 ----
Karsten Hopp 81c285
   */
Karsten Hopp 81c285
      static int
Karsten Hopp 81c285
  sign_cmd_idx(begin_cmd, end_cmd)
Karsten Hopp 81c285
!     char_u	*begin_cmd;	/* begin of sign subcmd */
Karsten Hopp 81c285
!     char_u	*end_cmd;	/* just after sign subcmd */
Karsten Hopp 81c285
  {
Karsten Hopp 81c285
      int		idx;
Karsten Hopp 81c285
      char	save = *end_cmd;
Karsten Hopp 81c285
*** ../vim-7.2.170/src/version.c	2009-05-13 20:47:07.000000000 +0200
Karsten Hopp 81c285
--- src/version.c	2009-05-14 21:49:22.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 678,679 ****
Karsten Hopp 81c285
--- 678,681 ----
Karsten Hopp 81c285
  {   /* Add new patch number below this line */
Karsten Hopp 81c285
+ /**/
Karsten Hopp 81c285
+     171,
Karsten Hopp 81c285
  /**/
Karsten Hopp 81c285
Karsten Hopp 81c285
-- 
Karsten Hopp 81c285
Living on Earth includes an annual free trip around the Sun.
Karsten Hopp 81c285
Karsten Hopp 81c285
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 81c285
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 81c285
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 81c285
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///