From aab3383e70456f054fe9d0963fe3eb45994aa5e7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 4 Nov 2016 22:08:29 +0100 Subject: patch 8.0.0061 Problem: Compiler warning for unused variable. Solution: Add #ifdef. (John Marriott) --- src/popupmnu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/popupmnu.c') diff --git a/src/popupmnu.c b/src/popupmnu.c index 6a75686ff..19d215b9f 100644 --- a/src/popupmnu.c +++ b/src/popupmnu.c @@ -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; -- cgit v1.2.1