mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fix uninit warning in gd.c
This matches the upstream implementation.
This commit is contained in:
parent
91d59b122a
commit
7207110362
1 changed files with 1 additions and 1 deletions
|
@ -1593,7 +1593,7 @@ void gdImageFilledArc (gdImagePtr im, int cx, int cy, int w, int h, int s, int e
|
||||||
int i, pti;
|
int i, pti;
|
||||||
int lx = 0, ly = 0;
|
int lx = 0, ly = 0;
|
||||||
int fx = 0, fy = 0;
|
int fx = 0, fy = 0;
|
||||||
int startx, starty, endx, endy;
|
int startx = -1, starty = -1, endx = -1, endy = -1;
|
||||||
|
|
||||||
if ((s % 360) == (e % 360)) {
|
if ((s % 360) == (e % 360)) {
|
||||||
s = 0; e = 360;
|
s = 0; e = 360;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue