Fix unused variable warning
This commit is contained in:
committed by
Jeremy Soller
parent
2ef4cd7bbd
commit
f30a9d84f7
@ -231,8 +231,8 @@ unsafe fn matrix(ec: &mut Ec<Box<dyn Access>>) -> Result<(), Error> {
|
|||||||
let cols = *data.get(1).unwrap_or(&0);
|
let cols = *data.get(1).unwrap_or(&0);
|
||||||
let mut byte = 2;
|
let mut byte = 2;
|
||||||
let mut bit = 0;
|
let mut bit = 0;
|
||||||
for row in 0..rows {
|
for _row in 0..rows {
|
||||||
for col in 0..cols {
|
for _col in 0..cols {
|
||||||
if (data.get(byte).unwrap_or(&0) & (1 << bit)) != 0 {
|
if (data.get(byte).unwrap_or(&0) & (1 << bit)) != 0 {
|
||||||
print!("#");
|
print!("#");
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user