cleaned up many warnings

This commit is contained in:
Henry Schimke
2022-10-17 10:50:18 -05:00
parent 8c102cab8f
commit 111fe47566
71 changed files with 2553 additions and 2528 deletions

View File

@@ -245,7 +245,7 @@ impl MonochromeRectangleDetector {
// Scan left/up first
let mut start = center;
while (start >= minDim) {
while start >= minDim {
if if horizontal {
self.image.get(start as u32, fixedDimension as u32)
} else {
@@ -275,7 +275,7 @@ impl MonochromeRectangleDetector {
// Then try right/down
let mut end = center;
while (end < maxDim) {
while end < maxDim {
if if horizontal {
self.image.get(end as u32, fixedDimension as u32)
} else {