Remove dead code.
This commit is contained in:
parent
0714ae6f2f
commit
6a52f3c5b1
10
src/lib.rs
10
src/lib.rs
@ -396,7 +396,7 @@ impl Movies {
|
||||
}
|
||||
}
|
||||
|
||||
for (parent, mut movies) in movie_counter.into_iter() {
|
||||
for (_parent, mut movies) in movie_counter.into_iter() {
|
||||
if movies.len() > 1 {
|
||||
// Sort, lowest bit_rate movie first
|
||||
movies.sort_by(|a, b| a.min_bit_rate().cmp(&b.min_bit_rate()));
|
||||
@ -405,14 +405,6 @@ impl Movies {
|
||||
// Take the largest image, return the rest for removal.
|
||||
let tuple = (movies.remove(0), movies);
|
||||
dupes.push(tuple);
|
||||
} else {
|
||||
/*
|
||||
let dateless_parent = if date_re.is_match(&parent) {
|
||||
parent[..parent.len() - 7].to_string()
|
||||
} else {
|
||||
parent.to_string()
|
||||
};
|
||||
*/
|
||||
}
|
||||
}
|
||||
// Sort to make this function deterministic.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user