From: Eli Zaretskii Date: Tue, 14 Aug 2012 19:44:55 +0000 (+0300) Subject: Fix compiler warning in keyboard.c. X-Git-Tag: emacs-24.2.90~671 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3b61d6c9784fafb0c42ce7655d0195db3b1596fe;p=emacs.git Fix compiler warning in keyboard.c. --- diff --git a/src/keyboard.c b/src/keyboard.c index bf3ef9ed6dd..4d0c98f3529 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -8441,7 +8441,9 @@ static Lisp_Object read_char_x_menu_prompt (ptrdiff_t nmaps, Lisp_Object *maps, Lisp_Object prev_event, int *used_mouse_menu) { +#ifdef HAVE_MENUS ptrdiff_t mapno; +#endif if (used_mouse_menu) *used_mouse_menu = 0;