Skip to content

Commit

Permalink
refactor: remove unused debug variable (#1266)
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis authored Oct 11, 2024
1 parent 74db5ee commit 5110945
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/dpp/voice/enabled/opus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<uint8_t> payload(packet_siz);
std::vector<uint8_t> payload2(packet_siz);

/* Set RTP header */
std::memcpy(payload.data(), &header, sizeof(header));
Expand Down

0 comments on commit 5110945

Please sign in to comment.