diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-12 16:03:01 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-12 16:03:01 +0200 |
commit | 7207110362f95a1edd4bbd0a511897461e88ad54 (patch) | |
tree | e6bf1b190f1d824d0c25f566ab39369d13d279bb /ext/gd | |
parent | 91d59b122aa6e05e1b92d6ae5b84807eeff572f5 (diff) | |
download | php-git-7207110362f95a1edd4bbd0a511897461e88ad54.tar.gz |
Fix uninit warning in gd.c
This matches the upstream implementation.
Diffstat (limited to 'ext/gd')
-rw-r--r-- | ext/gd/libgd/gd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c index 32de38f6c3..2013e8ef42 100644 --- a/ext/gd/libgd/gd.c +++ b/ext/gd/libgd/gd.c @@ -1593,7 +1593,7 @@ void gdImageFilledArc (gdImagePtr im, int cx, int cy, int w, int h, int s, int e int i, pti; int lx = 0, ly = 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)) { s = 0; e = 360; |