From 8ad2c1e99bc47218cc5750dd5fcbdd88c2352b48 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 18 Jan 2023 03:30:37 +0200 Subject: [PATCH 37/37] Fix NDEBUG build See osdn #46539 Signed-off-by: Marko Lindqvist --- common/actions.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/actions.c b/common/actions.c index 17ddcfc95d..8d59aa823e 100644 --- a/common/actions.c +++ b/common/actions.c @@ -3744,10 +3744,7 @@ is_action_possible(const action_id wanted_action, enum fc_tristate out; struct terrain *pterrain; struct action *paction = action_by_number(wanted_action); - -#ifndef FREECIV_NDEBUG enum action_target_kind tkind = action_get_target_kind(paction); -#endif if (actor == NULL) { actor = req_context_empty(); -- 2.39.0