From: Antti S. Lankila Date: Sat, 28 Jul 2012 11:02:42 +0000 (+0300) Subject: Remove unnecessary dst initialization X-Git-Tag: pixman-0.27.2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1dcca0f7ae64e9a96f2feba85dd728c636744009;p=platform%2Fupstream%2Fpixman.git Remove unnecessary dst initialization The initialization work is already performed correctly in image_init(). --- diff --git a/test/composite.c b/test/composite.c index bdecd75..81c416e 100644 --- a/test/composite.c +++ b/test/composite.c @@ -524,17 +524,8 @@ composite_test (image_t *dst, pixman_bool_t component_alpha, int testno) { - pixman_color_t fill; color_t expected, tdst, tsrc, tmsk; pixel_checker_t checker; - pixman_image_t *solid; - - /* Initialize dst */ - compute_pixman_color (dst->color, &fill); - solid = pixman_image_create_solid_fill (&fill); - pixman_image_composite32 (PIXMAN_OP_SRC, solid, NULL, dst->image, - 0, 0, 0, 0, 0, 0, dst->size, dst->size); - pixman_image_unref (solid); if (mask) {