Remove dead code.

This commit is contained in:
Bill Thiede 2019-12-14 16:08:38 -08:00
parent 0714ae6f2f
commit 6a52f3c5b1

View File

@ -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 { if movies.len() > 1 {
// Sort, lowest bit_rate movie first // Sort, lowest bit_rate movie first
movies.sort_by(|a, b| a.min_bit_rate().cmp(&b.min_bit_rate())); 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. // Take the largest image, return the rest for removal.
let tuple = (movies.remove(0), movies); let tuple = (movies.remove(0), movies);
dupes.push(tuple); 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. // Sort to make this function deterministic.