Fix various compiler warnings

This commit is contained in:
Sebastian Dröge 2018-04-05 20:57:05 +03:00
parent 57c62789d9
commit 19b6987012
3 changed files with 3 additions and 2 deletions

View file

@ -35,6 +35,7 @@ pub use glib::{Cast, Continue, Error, IsA, StaticType, ToValue, Type, TypedValue
#[cfg_attr(feature = "cargo-clippy", allow(transmute_ptr_to_ref))]
#[cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))]
#[cfg_attr(feature = "cargo-clippy", allow(match_same_arms))]
#[cfg_attr(feature = "cargo-clippy", allow(non_snake_case))]
mod auto;
pub use auto::*;

View file

@ -15,7 +15,7 @@ use glib::translate::*;
use glib_ffi;
use gst;
use auto::{MIKEYMessage, SDPResult};
use SDPResult;
use s_d_p_attribute::SDPAttribute;
use s_d_p_bandwidth::SDPBandwidth;
use s_d_p_connection::SDPConnection;

View file

@ -17,7 +17,7 @@ use gobject_ffi;
use gst;
use gst::MiniObject;
use auto::{MIKEYMessage, SDPResult};
use SDPResult;
use s_d_p_attribute::SDPAttribute;
use s_d_p_bandwidth::SDPBandwidth;
use s_d_p_connection::SDPConnection;