From: Tobias Brunner Date: Mon, 1 May 2023 10:05:59 +0000 (+0200) Subject: mode-config: Fix build with DEBUG_LEVEL < 1 X-Git-Tag: 5.9.11rc1~12^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=800cef35db4f85b0e529b471220de16e0668e54d;p=thirdparty%2Fstrongswan.git mode-config: Fix build with DEBUG_LEVEL < 1 --- diff --git a/src/libcharon/sa/ikev1/tasks/mode_config.c b/src/libcharon/sa/ikev1/tasks/mode_config.c index db441924c5..b718042ea7 100644 --- a/src/libcharon/sa/ikev1/tasks/mode_config.c +++ b/src/libcharon/sa/ikev1/tasks/mode_config.c @@ -335,7 +335,7 @@ static status_t build_set(private_mode_config_t *this, message_t *message) chunk_t value; cp_payload_t *cp; peer_cfg_t *config; - identification_t *id; + identification_t *id DBG_UNUSED; linked_list_t *pools, *migrated, *vips; host_t *any4, *any6, *found; char *name; @@ -491,7 +491,7 @@ static status_t build_reply(private_mode_config_t *this, message_t *message) chunk_t value; cp_payload_t *cp; peer_cfg_t *config; - identification_t *id; + identification_t *id DBG_UNUSED; linked_list_t *vips, *pools, *migrated; host_t *requested, *found;