From 2d3967cb4cc0ce73ab437bee16c0ae1c7b1e4e47 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 3 May 2023 12:22:05 +0200 Subject: [PATCH] eap-dynamic: Fix build with DEBUG_LEVEL < 2 --- src/libcharon/plugins/eap_dynamic/eap_dynamic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcharon/plugins/eap_dynamic/eap_dynamic.c b/src/libcharon/plugins/eap_dynamic/eap_dynamic.c index 5ecb187f7..40c1456c3 100644 --- a/src/libcharon/plugins/eap_dynamic/eap_dynamic.c +++ b/src/libcharon/plugins/eap_dynamic/eap_dynamic.c @@ -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) {