From: Tobias Brunner Date: Wed, 3 May 2023 10:27:48 +0000 (+0200) Subject: eap-peap: Fix build with DEBUG_LEVEL < 1 X-Git-Tag: 5.9.11rc1~12^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68f35b48d8b706b163bca63639338ebbf7620b3a;p=thirdparty%2Fstrongswan.git eap-peap: Fix build with DEBUG_LEVEL < 1 --- diff --git a/src/libcharon/plugins/eap_peap/eap_peap_peer.c b/src/libcharon/plugins/eap_peap/eap_peap_peer.c index eed40c0a7a..95213a3286 100644 --- a/src/libcharon/plugins/eap_peap/eap_peap_peer.c +++ b/src/libcharon/plugins/eap_peap/eap_peap_peer.c @@ -191,7 +191,7 @@ METHOD(tls_application_t, build, status_t, { chunk_t data; eap_code_t code; - eap_type_t type; + eap_type_t type DBG_UNUSED; pen_t vendor; if (this->out) diff --git a/src/libcharon/plugins/eap_peap/eap_peap_server.c b/src/libcharon/plugins/eap_peap/eap_peap_server.c index abf63713e8..29ab9b4512 100644 --- a/src/libcharon/plugins/eap_peap/eap_peap_server.c +++ b/src/libcharon/plugins/eap_peap/eap_peap_server.c @@ -343,7 +343,7 @@ METHOD(tls_application_t, build, status_t, { chunk_t data; eap_code_t code; - eap_type_t type; + eap_type_t type DBG_UNUSED; pen_t vendor; if (!this->ph2_method && this->start_phase2 &&