From b56fe11086bd0b126ea52e259f1cedd162aa9011 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Wed, 4 Apr 2018 05:25:59 -0700 Subject: [PATCH] Remove unnecessary `#if 1` directive The preprocessor directive `#if 1` always evaluates as true, so the enclosed code is always compiled. The directive has existed since the original fork from PIL, 9a640e3157150e35f17354517e8c6304fc428060. --- src/libImaging/Draw.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libImaging/Draw.c b/src/libImaging/Draw.c index 3fae3d931..69cd88444 100644 --- a/src/libImaging/Draw.c +++ b/src/libImaging/Draw.c @@ -872,8 +872,6 @@ ImagingDrawPieslice(Imaging im, int x0, int y0, int x1, int y1, semantics are ok, except that "curve" flattens the bezier curves by itself */ -#if 1 /* ARROW_GRAPHICS */ - struct ImagingOutlineInstance { float x0, y0; @@ -1102,5 +1100,3 @@ ImagingDrawOutline(Imaging im, ImagingOutline outline, const void* ink_, return 0; } - -#endif