From f8097adbaedfc51f5ed97ccd63102a865675277c Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Sun, 18 Nov 2018 03:25:04 +0100 Subject: [PATCH] Cleanup unused variables --- src/rfc3711.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rfc3711.rs b/src/rfc3711.rs index 833d17a..3e52948 100644 --- a/src/rfc3711.rs +++ b/src/rfc3711.rs @@ -196,7 +196,7 @@ impl Protocol for Srtp { } fn get_authenticated_bytes<'a>( - context: &Context, + _context: &Context, index: Self::PacketIndex, auth_portion: &'a [u8], ) -> Result> { @@ -295,7 +295,7 @@ impl Protocol for Srtcp { fn get_authenticated_bytes<'a>( _context: &Context, - index: Self::PacketIndex, + _index: Self::PacketIndex, auth_portion: &'a [u8], ) -> Result> { // For SRTCP the full packet index is already part of the packet