Cleanup unused variables

dtls-srtp
Jonas Herzig 2018-11-18 03:25:04 +01:00
parent ad85e55b66
commit f8097adbae
1 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ impl Protocol for Srtp {
}
fn get_authenticated_bytes<'a>(
context: &Context<Self>,
_context: &Context<Self>,
index: Self::PacketIndex,
auth_portion: &'a [u8],
) -> Result<Cow<'a, [u8]>> {
@ -295,7 +295,7 @@ impl Protocol for Srtcp {
fn get_authenticated_bytes<'a>(
_context: &Context<Self>,
index: Self::PacketIndex,
_index: Self::PacketIndex,
auth_portion: &'a [u8],
) -> Result<Cow<'a, [u8]>> {
// For SRTCP the full packet index is already part of the packet