From 5110945ae8a263b9956c40efad4c9eb23c63fdc2 Mon Sep 17 00:00:00 2001 From: "Craig Edwards (Brain)" Date: Fri, 11 Oct 2024 10:07:01 +0100 Subject: [PATCH] refactor: remove unused debug variable (#1266) --- src/dpp/voice/enabled/opus.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dpp/voice/enabled/opus.cpp b/src/dpp/voice/enabled/opus.cpp index 9f8aaeaff9..5eb7a77cc4 100644 --- a/src/dpp/voice/enabled/opus.cpp +++ b/src/dpp/voice/enabled/opus.cpp @@ -117,7 +117,6 @@ discord_voice_client& discord_voice_client::send_audio_opus(uint8_t* opus_packet size_t packet_siz = sizeof(header) + (encoded_audio_length + ssl_crypto_aead_xchacha20poly1305_IETF_ABYTES) + sizeof(packet_nonce); std::vector payload(packet_siz); - std::vector payload2(packet_siz); /* Set RTP header */ std::memcpy(payload.data(), &header, sizeof(header));