]> granicus.if.org Git - vim/commitdiff
patch 8.0.0061 v8.0.0061
authorBram Moolenaar <Bram@vim.org>
Fri, 4 Nov 2016 21:08:29 +0000 (22:08 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 4 Nov 2016 21:08:29 +0000 (22:08 +0100)
Problem:    Compiler warning for unused variable.
Solution:   Add #ifdef. (John Marriott)

src/popupmnu.c
src/version.c

index 6a75686ff8d7169f9d5c670528cd10dd88174219..19d215b9f5a9f009d23082a2bff7ba93cd48cf2b 100644 (file)
@@ -60,7 +60,9 @@ pum_display(
     int                above_row;
     int                below_row;
     int                redo_count = 0;
+#if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX)
     win_T      *pvwin;
+#endif
 
 redo:
     def_width = PUM_DEF_WIDTH;
index b567665883469d31f039b5a029a8d47c8b1c419b..ab005b75ac9ff1517b7065fd03c9dd82ade49614 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    61,
 /**/
     60,
 /**/