Skip to content

Commit ab516bc

Browse files
committed
clippy: fix unnecessary_operation
1 parent 2f57f6d commit ab516bc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

build.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -605,8 +605,7 @@ fn main() {
605605
pkg_config::Config::new()
606606
.statik(statik)
607607
.probe("libavutil")
608-
.unwrap()
609-
.include_paths;
608+
.unwrap();
610609

611610
let libs = vec![
612611
("libavformat", "AVFORMAT"),
@@ -622,8 +621,7 @@ fn main() {
622621
pkg_config::Config::new()
623622
.statik(statik)
624623
.probe(lib_name)
625-
.unwrap()
626-
.include_paths;
624+
.unwrap();
627625
}
628626
}
629627

0 commit comments

Comments
 (0)