Skip to content

Commit 80b2e62

Browse files
committed
updated for version 7.4.373
Problem: Compiler warning for unused argument and unused variable. Solution: Add UNUSED. Move variable inside #ifdef.
1 parent 2f1bfd9 commit 80b2e62

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

src/charset.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ vim_isprintc_strict(c)
10241024
*/
10251025
int
10261026
lbr_chartabsize(line, s, col)
1027-
char_u *line; /* start of the line */
1027+
char_u *line UNUSED; /* start of the line */
10281028
unsigned char *s;
10291029
colnr_T col;
10301030
{
@@ -1069,7 +1069,7 @@ lbr_chartabsize_adv(line, s, col)
10691069
int
10701070
win_lbr_chartabsize(wp, line, s, col, headp)
10711071
win_T *wp;
1072-
char_u *line; /* start of the line */
1072+
char_u *line UNUSED; /* start of the line */
10731073
char_u *s;
10741074
colnr_T col;
10751075
int *headp UNUSED;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ static char *(features[]) =
734734

735735
static int included_patches[] =
736736
{ /* Add new patch number below this line */
737+
/**/
738+
373,
737739
/**/
738740
372,
739741
/**/

src/window.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,9 +686,7 @@ win_split_ins(size, flags, new_wp, dir)
686686
int layout;
687687
frame_T *frp, *curfrp;
688688
int before;
689-
int minwidth;
690689
int minheight;
691-
int wmw1;
692690
int wmh1;
693691

694692
if (flags & WSP_TOP)
@@ -718,6 +716,9 @@ win_split_ins(size, flags, new_wp, dir)
718716
#ifdef FEAT_VERTSPLIT
719717
if (flags & WSP_VERT)
720718
{
719+
int wmw1;
720+
int minwidth;
721+
721722
layout = FR_ROW;
722723

723724
/*

0 commit comments

Comments
 (0)