0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.0.0320: warning for unused variable with small build

Problem:    Warning for unused variable with small build.
Solution:   Change #ifdef to exclude FEAT_CMDWIN. (Kazunobu Kuriyama)
This commit is contained in:
Bram Moolenaar
2017-02-09 18:25:14 +01:00
parent 190b04cdd9
commit 4d8505155e
2 changed files with 3 additions and 2 deletions

View File

@@ -212,8 +212,7 @@ getcmdline(
#endif #endif
expand_T xpc; expand_T xpc;
long *b_im_ptr = NULL; long *b_im_ptr = NULL;
#if defined(FEAT_WILDMENU) || defined(FEAT_EVAL) \ #if defined(FEAT_WILDMENU) || defined(FEAT_EVAL) || defined(FEAT_SEARCH_EXTRA)
|| defined(FEAT_SEARCH_EXTRA) || defined(FEAT_CMDWIN)
/* Everything that may work recursively should save and restore the /* Everything that may work recursively should save and restore the
* current command line in save_ccline. That includes update_screen(), a * current command line in save_ccline. That includes update_screen(), a
* custom status line may invoke ":normal". */ * custom status line may invoke ":normal". */

View File

@@ -764,6 +764,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 */
/**/
320,
/**/ /**/
319, 319,
/**/ /**/