]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
eap-dynamic: Fix build with DEBUG_LEVEL < 2
authorTobias Brunner <tobias@strongswan.org>
Wed, 3 May 2023 10:22:05 +0000 (12:22 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 8 May 2023 15:32:17 +0000 (17:32 +0200)
src/libcharon/plugins/eap_dynamic/eap_dynamic.c

index 5ecb187f70bf6d329ecf76e32b47b4f8d178daae..40c1456c3c8e69097b417cf3269a31a2f1e42322 100644 (file)
@@ -118,7 +118,7 @@ static void select_method(private_eap_dynamic_t *this)
 {
        eap_vendor_type_t *entry;
        linked_list_t *outer = this->types, *inner = this->other_types;
-       char *who = "peer";
+       char *who DBG_UNUSED = "peer";
 
        if (this->other_types && this->prefer_peer)
        {