Fix travis CI

This commit is contained in:
rubenrua 2019-07-30 17:29:42 +02:00
parent 43eee4740b
commit b0b42f8f17
2 changed files with 4 additions and 4 deletions

View file

@ -26,5 +26,5 @@ install:
- rustup component add clippy-preview - rustup component add clippy-preview
script: script:
- cargo fmt -- --check - cargo fmt -- --check
- touch ./src/*.rs && cargo clippy -- -A clippy::cast_ptr_alignment -A clippy::new_ret_no_self - cargo build --no-default-features
- cargo build - touch ./src/*.rs && cargo clippy --no-default-features -- -A clippy::cast_ptr_alignment -A clippy::new_ret_no_self -Aclippy::or_fun_call -A clippy::cast_lossless -A clippy::too_many_arguments

View file

@ -891,7 +891,7 @@ where
} }
// If an error happened in the meantime, just go out of here // If an error happened in the meantime, just go out of here
if let Some(_) = queue.error { if queue.error.is_some() {
gst_error!( gst_error!(
receiver.0.cat, receiver.0.cat,
obj: &element, obj: &element,
@ -930,7 +930,7 @@ where
} }
// If an error happened in the meantime, just go out of here // If an error happened in the meantime, just go out of here
if let Some(_) = queue.error { if queue.error.is_some() {
gst_error!( gst_error!(
receiver.0.cat, receiver.0.cat,
obj: &element, obj: &element,