From 6a6bfc72fd395371b63e691cd89f43c923525fd3 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Fri, 4 Dec 2015 11:52:43 +0000 Subject: [PATCH] Fix an unused variable in menus.c with USE_OPENGL=0. git-svn-id: https://svn.eduke32.com/eduke32@5461 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/menus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/source/menus.c b/polymer/eduke32/source/menus.c index a566d962b..13b887aab 100644 --- a/polymer/eduke32/source/menus.c +++ b/polymer/eduke32/source/menus.c @@ -2891,7 +2891,9 @@ static int32_t M_MenuEntryOptionModify(MenuEntry_t *entry, int32_t newOption) static void M_MenuEntryOptionDidModify(MenuEntry_t *entry) { +#ifdef USE_OPENGL int domodechange = 0; +#endif if (entry == &ME_GAMESETUP_AIM_AUTO || entry == &ME_GAMESETUP_WEAPSWITCH_PICKUP ||