Remove unused attribute
This commit is contained in:
parent
993f68ded2
commit
03dda42d1a
|
|
@ -8,7 +8,6 @@ use std::str;
|
||||||
/// fake free method, since SRTP_PROTECTION_PROFILE is static
|
/// fake free method, since SRTP_PROTECTION_PROFILE is static
|
||||||
unsafe fn free(_profile: *mut ffi::SRTP_PROTECTION_PROFILE) {}
|
unsafe fn free(_profile: *mut ffi::SRTP_PROTECTION_PROFILE) {}
|
||||||
|
|
||||||
#[allow(unused_unsafe)]
|
|
||||||
foreign_type_and_impl_send_sync! {
|
foreign_type_and_impl_send_sync! {
|
||||||
type CType = ffi::SRTP_PROTECTION_PROFILE;
|
type CType = ffi::SRTP_PROTECTION_PROFILE;
|
||||||
fn drop = free;
|
fn drop = free;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue