mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.4.373
Problem: Compiler warning for unused argument and unused variable. Solution: Add UNUSED. Move variable inside #ifdef.
This commit is contained in:
@@ -1024,7 +1024,7 @@ vim_isprintc_strict(c)
|
|||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
lbr_chartabsize(line, s, col)
|
lbr_chartabsize(line, s, col)
|
||||||
char_u *line; /* start of the line */
|
char_u *line UNUSED; /* start of the line */
|
||||||
unsigned char *s;
|
unsigned char *s;
|
||||||
colnr_T col;
|
colnr_T col;
|
||||||
{
|
{
|
||||||
@@ -1069,7 +1069,7 @@ lbr_chartabsize_adv(line, s, col)
|
|||||||
int
|
int
|
||||||
win_lbr_chartabsize(wp, line, s, col, headp)
|
win_lbr_chartabsize(wp, line, s, col, headp)
|
||||||
win_T *wp;
|
win_T *wp;
|
||||||
char_u *line; /* start of the line */
|
char_u *line UNUSED; /* start of the line */
|
||||||
char_u *s;
|
char_u *s;
|
||||||
colnr_T col;
|
colnr_T col;
|
||||||
int *headp UNUSED;
|
int *headp UNUSED;
|
||||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
373,
|
||||||
/**/
|
/**/
|
||||||
372,
|
372,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -686,9 +686,7 @@ win_split_ins(size, flags, new_wp, dir)
|
|||||||
int layout;
|
int layout;
|
||||||
frame_T *frp, *curfrp;
|
frame_T *frp, *curfrp;
|
||||||
int before;
|
int before;
|
||||||
int minwidth;
|
|
||||||
int minheight;
|
int minheight;
|
||||||
int wmw1;
|
|
||||||
int wmh1;
|
int wmh1;
|
||||||
|
|
||||||
if (flags & WSP_TOP)
|
if (flags & WSP_TOP)
|
||||||
@@ -718,6 +716,9 @@ win_split_ins(size, flags, new_wp, dir)
|
|||||||
#ifdef FEAT_VERTSPLIT
|
#ifdef FEAT_VERTSPLIT
|
||||||
if (flags & WSP_VERT)
|
if (flags & WSP_VERT)
|
||||||
{
|
{
|
||||||
|
int wmw1;
|
||||||
|
int minwidth;
|
||||||
|
|
||||||
layout = FR_ROW;
|
layout = FR_ROW;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user