mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 14:28:18 +00:00
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:
@@ -222,7 +222,7 @@ static int included_patches[] = {
|
||||
376,
|
||||
//375,
|
||||
//374,
|
||||
//373 NA
|
||||
373,
|
||||
372,
|
||||
371,
|
||||
370,
|
||||
|
@@ -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;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user