mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-13 05:06:49 +03:00
This check is useless, since moved after the first stage
This commit is contained in:
parent
6a87df2c1f
commit
5fb44ab694
|
@ -92,11 +92,6 @@ ImagingGetBBox(Imaging im, int bbox[4], int alpha_only) {
|
||||||
GETBBOX(image32, mask);
|
GETBBOX(image32, mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check that we got a box */
|
|
||||||
if (bbox[1] < 0) {
|
|
||||||
return 0; /* no data */
|
|
||||||
}
|
|
||||||
|
|
||||||
return 1; /* ok */
|
return 1; /* ok */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user