Skip to content

Commit

Permalink
This check is useless, since moved after the first stage
Browse files Browse the repository at this point in the history
  • Loading branch information
homm committed Aug 14, 2024
1 parent 6a87df2 commit 5fb44ab
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/libImaging/GetBBox.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,6 @@ ImagingGetBBox(Imaging im, int bbox[4], int alpha_only) {
GETBBOX(image32, mask);
}

/* Check that we got a box */
if (bbox[1] < 0) {
return 0; /* no data */
}

return 1; /* ok */
}

Expand Down

0 comments on commit 5fb44ab

Please sign in to comment.