Skip to content

Commit

Permalink
Fix unused const warnings in JPEG decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
nabijaczleweli committed Apr 19, 2020
1 parent 947fda9 commit 2d7de9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jpeg/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ mod tests {
#[cfg(feature = "benchmarks")]
use test::Bencher;

#[cfg(feature = "benchmarks")]
const W: usize = 256;
#[cfg(feature = "benchmarks")]
const H: usize = 256;

#[test]
Expand Down

0 comments on commit 2d7de9c

Please sign in to comment.