diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-01-09 00:17:14 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-01-09 00:17:14 +0100 |
commit | 5836c7063b8eccf23e3f0aaa9707db9c4307b745 (patch) | |
tree | 8b111d5f325529fe15a9e5d90a26b1798f5cb712 /ext/gd | |
parent | 3c6a230b7124d4a1176ebd3e2981b8c23c8a67c1 (diff) | |
download | php-git-5836c7063b8eccf23e3f0aaa9707db9c4307b745.tar.gz |
Avoid superfluous assignments
These values are already set via the initializers.
Diffstat (limited to 'ext/gd')
-rw-r--r-- | ext/gd/libgd/gd_matrix.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/gd/libgd/gd_matrix.c b/ext/gd/libgd/gd_matrix.c index d2dfbd2d16..ec40674833 100644 --- a/ext/gd/libgd/gd_matrix.c +++ b/ext/gd/libgd/gd_matrix.c @@ -29,8 +29,6 @@ int gdAffineApplyToPointF (gdPointFPtr dst, const gdPointFPtr src, { double x = src->x; double y = src->y; - x = src->x; - y = src->y; dst->x = x * affine[0] + y * affine[2] + affine[4]; dst->y = x * affine[1] + y * affine[3] + affine[5]; return GD_TRUE; |