From: Marek Olšák Date: Thu, 17 Oct 2019 20:07:02 +0000 (-0400) Subject: gallium/u_blitter: remove an unused variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ed1dd3d429c92729845bd694e6527595b00aeb2;p=mesa.git gallium/u_blitter: remove an unused variable trivial --- diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index 5400e0a4b67..f4bd04287c0 100644 --- a/src/gallium/auxiliary/util/u_blitter.c +++ b/src/gallium/auxiliary/util/u_blitter.c @@ -793,8 +793,6 @@ static void blitter_set_rectangle(struct blitter_context_priv *ctx, int x1, int y1, int x2, int y2, float depth) { - int i; - /* set vertex positions */ ctx->vertices[0][0][0] = (float)x1 / ctx->dst_width * 2.0f - 1.0f; /*v0.x*/ ctx->vertices[0][0][1] = (float)y1 / ctx->dst_height * 2.0f - 1.0f; /*v0.y*/