Blame SOURCES/7.4.373

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.373
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.373
22c937
Problem:    Compiler warning for unused argument and unused variable.
22c937
Solution:   Add UNUSED.  Move variable inside #ifdef.
22c937
Files:	    src/charset.c, src/window.c
22c937
22c937
22c937
*** ../vim-7.4.372/src/charset.c	2014-07-02 19:59:35.450375136 +0200
22c937
--- src/charset.c	2014-07-16 23:36:51.211088615 +0200
22c937
***************
22c937
*** 1024,1030 ****
22c937
   */
22c937
      int
22c937
  lbr_chartabsize(line, s, col)
22c937
!     char_u		*line; /* start of the line */
22c937
      unsigned char	*s;
22c937
      colnr_T		col;
22c937
  {
22c937
--- 1024,1030 ----
22c937
   */
22c937
      int
22c937
  lbr_chartabsize(line, s, col)
22c937
!     char_u		*line UNUSED; /* start of the line */
22c937
      unsigned char	*s;
22c937
      colnr_T		col;
22c937
  {
22c937
***************
22c937
*** 1069,1075 ****
22c937
      int
22c937
  win_lbr_chartabsize(wp, line, s, col, headp)
22c937
      win_T	*wp;
22c937
!     char_u	*line; /* start of the line */
22c937
      char_u	*s;
22c937
      colnr_T	col;
22c937
      int		*headp UNUSED;
22c937
--- 1069,1075 ----
22c937
      int
22c937
  win_lbr_chartabsize(wp, line, s, col, headp)
22c937
      win_T	*wp;
22c937
!     char_u	*line UNUSED; /* start of the line */
22c937
      char_u	*s;
22c937
      colnr_T	col;
22c937
      int		*headp UNUSED;
22c937
*** ../vim-7.4.372/src/window.c	2014-07-16 18:19:22.911475762 +0200
22c937
--- src/window.c	2014-07-16 23:38:31.567086575 +0200
22c937
***************
22c937
*** 686,694 ****
22c937
      int		layout;
22c937
      frame_T	*frp, *curfrp;
22c937
      int		before;
22c937
-     int		minwidth;
22c937
      int		minheight;
22c937
-     int		wmw1;
22c937
      int		wmh1;
22c937
  
22c937
      if (flags & WSP_TOP)
22c937
--- 686,692 ----
22c937
***************
22c937
*** 718,723 ****
22c937
--- 716,724 ----
22c937
  #ifdef FEAT_VERTSPLIT
22c937
      if (flags & WSP_VERT)
22c937
      {
22c937
+ 	int	wmw1;
22c937
+ 	int	minwidth;
22c937
+ 
22c937
  	layout = FR_ROW;
22c937
  
22c937
  	/*
22c937
*** ../vim-7.4.372/src/version.c	2014-07-16 18:19:22.915475762 +0200
22c937
--- src/version.c	2014-07-16 23:36:20.775089233 +0200
22c937
***************
22c937
*** 736,737 ****
22c937
--- 736,739 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     373,
22c937
  /**/
22c937
22c937
-- 
22c937
INSPECTOR END OF FILM: Move along.  There's nothing to see!  Keep moving!
22c937
   [Suddenly he notices the cameras.]
22c937
INSPECTOR END OF FILM: (to Camera) All right, put that away sonny.
22c937
   [He walks over to it and puts his hand over the lens.]
22c937
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///