diff options
author | Zhao, Gang <gang.zhao.42@gmail.com> | 2022-10-22 19:00:38 +0300 |
---|---|---|
committer | Zhao, Gang <gang.zhao.42@gmail.com> | 2022-10-22 19:02:07 +0300 |
commit | 68ab01254decb4d44709e2ede3276204e346735d (patch) | |
tree | f7b3beea501e34a28cc8f12c76b7a6675b65803a /video | |
parent | 6319d104a85d49c7251a1649d297541b4618bf4f (diff) |
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
Diffstat (limited to 'video')
-rw-r--r-- | video/videofx/src/videocompare/hashed_image.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/videofx/src/videocompare/hashed_image.rs b/video/videofx/src/videocompare/hashed_image.rs index c242c80c9..333fde210 100644 --- a/video/videofx/src/videocompare/hashed_image.rs +++ b/video/videofx/src/videocompare/hashed_image.rs @@ -73,6 +73,7 @@ impl HasherEngine { let (val, _) = algo.compare(left, right); val.into() } + #[cfg(feature = "dssim")] _ => unreachable!(), } } |