Remove unrunnable code: ImagingDrawWideLine is only called (in _imaging.c) when (width <= 1) is false

This commit is contained in:
hugovk 2017-05-15 21:17:33 +03:00
parent ae9181f0a4
commit 2968313bb6

View File

@ -605,11 +605,6 @@ ImagingDrawWideLine(Imaging im, int x0, int y0, int x1, int y1,
DRAWINIT();
if (width <= 1) {
draw->line(im, x0, y0, x1, y1, ink);
return 0;
}
dx = x1-x0;
dy = y1-y0;
if (dx == 0 && dy == 0) {