videocompare: Fix warning

Fixed following warning:

warning: unreachable pattern
  --> video/videofx/src/videocompare/hashed_image.rs:76:13
   |
76 |             _ => unreachable!(),
   |             ^
   |
   = note: `#[warn(unreachable_patterns)]` on by default
This commit is contained in:
Zhao, Gang 2022-10-23 00:00:38 +08:00
parent 6319d104a8
commit 68ab01254d

View file

@ -73,6 +73,7 @@ impl HasherEngine {
let (val, _) = algo.compare(left, right);
val.into()
}
#[cfg(feature = "dssim")]
_ => unreachable!(),
}
}