vim-patch:7.4.373

Problem:    Compiler warning for unused argument and unused variable.
Solution:   Add UNUSED.  Move variable inside #ifdef.

https://code.google.com/p/vim/source/detail?r=v7-4-373
This commit is contained in:
André Twupack
2014-09-15 23:35:13 +02:00
parent 781d129445
commit ab4feeac82
2 changed files with 4 additions and 3 deletions

View File

@@ -222,7 +222,7 @@ static int included_patches[] = {
376,
//375,
//374,
//373 NA
373,
372,
371,
370,

View File

@@ -542,9 +542,7 @@ int win_split_ins(int size, int flags, win_T *new_wp, int dir)
int layout;
frame_T *frp, *curfrp;
int before;
int minwidth;
int minheight;
int wmw1;
int wmh1;
if (flags & WSP_TOP)
@@ -565,6 +563,9 @@ int win_split_ins(int size, int flags, win_T *new_wp, int dir)
if (flags & WSP_VERT) {
int wmw1;
int minwidth;
layout = FR_ROW;
/*