Skip to content

Commit

Permalink
moved "maybe_unused
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslan-ilesik committed Jul 9, 2024
1 parent fb66025 commit 276714e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dpp/discordvoiceclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ void discord_voice_client::read_ready()

const uint8_t* decrypted_data = encrypted_data;
size_t decrypted_data_len = encrypted_data_len - crypto_box_MACBYTES;
if (const bool uses_extension [[maybe_unused]] = (buffer[0] >> 4) & 0b0001) {
if ([[maybe_unused]] const bool uses_extension = (buffer[0] >> 4) & 0b0001) {
/* Skip the RTP Extensions */
size_t ext_len = 0;
{
Expand Down

0 comments on commit 276714e

Please sign in to comment.