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:
@@ -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". */
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user