]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
ike-init: Fix build with DEBUG_LEVEL < 1
authorTobias Brunner <tobias@strongswan.org>
Mon, 1 May 2023 10:04:22 +0000 (12:04 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 8 May 2023 15:32:17 +0000 (17:32 +0200)
src/libcharon/sa/ikev2/tasks/ike_init.c

index a73c98ac9d859f4457458873df4afc920eb18943..b84c2832a799777b534a2aac6e547231f5be0f9b 100644 (file)
@@ -1035,7 +1035,7 @@ METHOD(task_t, process_i, status_t,
                                case INVALID_KE_PAYLOAD:
                                {
                                        chunk_t data;
-                                       key_exchange_method_t bad_group;
+                                       key_exchange_method_t bad_group DBG_UNUSED;
 
                                        bad_group = this->dh_group;
                                        data = notify->get_notification_data(notify);