Skip to content

Commit 4d85051

Browse files
committed
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)
1 parent 190b04c commit 4d85051

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/ex_getln.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,7 @@ getcmdline(
212212
#endif
213213
expand_T xpc;
214214
long *b_im_ptr = NULL;
215-
#if defined(FEAT_WILDMENU) || defined(FEAT_EVAL) \
216-
|| defined(FEAT_SEARCH_EXTRA) || defined(FEAT_CMDWIN)
215+
#if defined(FEAT_WILDMENU) || defined(FEAT_EVAL) || defined(FEAT_SEARCH_EXTRA)
217216
/* Everything that may work recursively should save and restore the
218217
* current command line in save_ccline. That includes update_screen(), a
219218
* custom status line may invoke ":normal". */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
320,
767769
/**/
768770
319,
769771
/**/

0 commit comments

Comments
 (0)