]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
eap-peap: Fix build with DEBUG_LEVEL < 1
authorTobias Brunner <tobias@strongswan.org>
Wed, 3 May 2023 10:27:48 +0000 (12:27 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 8 May 2023 15:32:18 +0000 (17:32 +0200)
src/libcharon/plugins/eap_peap/eap_peap_peer.c
src/libcharon/plugins/eap_peap/eap_peap_server.c

index eed40c0a7aca42cfdd9666d5ae7f0d808efb3211..95213a3286e50d7be0e75ad996bb93ad1d7f5fe8 100644 (file)
@@ -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)
index abf63713e8730751592a921e05f238ea87b47a18..29ab9b4512aab5b04748da2a8acc651ed28418b5 100644 (file)
@@ -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 &&