From: Christoph M. Becker Date: Wed, 8 Jan 2020 23:17:14 +0000 (+0100) Subject: Avoid superfluous assignments X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5836c7063b8eccf23e3f0aaa9707db9c4307b745;p=php Avoid superfluous assignments These values are already set via the initializers. --- 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;