]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
mode-config: Fix build with DEBUG_LEVEL < 1
authorTobias Brunner <tobias@strongswan.org>
Mon, 1 May 2023 10:05:59 +0000 (12:05 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 8 May 2023 15:32:17 +0000 (17:32 +0200)
src/libcharon/sa/ikev1/tasks/mode_config.c

index db441924c5c99a17857868418ea3c11633b003c7..b718042ea73bbb037c695ec384968d5d137755f5 100644 (file)
@@ -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;