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