Skip to content

Commit 7207110

Browse files
committed
Fix uninit warning in gd.c
This matches the upstream implementation.
1 parent 91d59b1 commit 7207110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/gd/libgd/gd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1593,7 +1593,7 @@ void gdImageFilledArc (gdImagePtr im, int cx, int cy, int w, int h, int s, int e
15931593
int i, pti;
15941594
int lx = 0, ly = 0;
15951595
int fx = 0, fy = 0;
1596-
int startx, starty, endx, endy;
1596+
int startx = -1, starty = -1, endx = -1, endy = -1;
15971597

15981598
if ((s % 360) == (e % 360)) {
15991599
s = 0; e = 360;

0 commit comments

Comments
 (0)