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
script:
- cargo fmt -- --check
- touch ./src/*.rs && cargo clippy -- -A clippy::cast_ptr_alignment -A clippy::new_ret_no_self
- cargo build
- cargo build --no-default-features
- 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 let Some(_) = queue.error {
if queue.error.is_some() {
gst_error!(
receiver.0.cat,
obj: &element,
@ -930,7 +930,7 @@ where
}
// If an error happened in the meantime, just go out of here
if let Some(_) = queue.error {
if queue.error.is_some() {
gst_error!(
receiver.0.cat,
obj: &element,