updated for version 7.4.373
Problem: Compiler warning for unused argument and unused variable.
Solution: Add UNUSED. Move variable inside #ifdef.
diff --git a/src/charset.c b/src/charset.c
index 83a6850..e7aabe7 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1024,7 +1024,7 @@
*/
int
lbr_chartabsize(line, s, col)
- char_u *line; /* start of the line */
+ char_u *line UNUSED; /* start of the line */
unsigned char *s;
colnr_T col;
{
@@ -1069,7 +1069,7 @@
int
win_lbr_chartabsize(wp, line, s, col, headp)
win_T *wp;
- char_u *line; /* start of the line */
+ char_u *line UNUSED; /* start of the line */
char_u *s;
colnr_T col;
int *headp UNUSED;
diff --git a/src/version.c b/src/version.c
index 0a8607d..47d5adb 100644
--- a/src/version.c
+++ b/src/version.c
@@ -735,6 +735,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 373,
+/**/
372,
/**/
371,
diff --git a/src/window.c b/src/window.c
index 9fe56b1..f81f552 100644
--- a/src/window.c
+++ b/src/window.c
@@ -686,9 +686,7 @@
int layout;
frame_T *frp, *curfrp;
int before;
- int minwidth;
int minheight;
- int wmw1;
int wmh1;
if (flags & WSP_TOP)
@@ -718,6 +716,9 @@
#ifdef FEAT_VERTSPLIT
if (flags & WSP_VERT)
{
+ int wmw1;
+ int minwidth;
+
layout = FR_ROW;
/*