From d8f31187e1e92318be3bda5260f48b91fa23b7a2 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 28 Nov 2016 04:35:21 +0000 Subject: [PATCH] Avoid unused variable warning with the startup window disabled. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@5940 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/game.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 192cbf409..14f211971 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -6137,7 +6137,10 @@ int app_main(int argc, char const * const * argv) Bfree(str); } - int const readSetup = CONFIG_ReadSetup(); +#ifdef STARTUP_SETUP_WINDOW + int const readSetup = +#endif + CONFIG_ReadSetup(); #ifdef _WIN32