From: Vinson Lee Date: Wed, 15 Sep 2010 13:09:28 +0000 (-0700) Subject: r600g: Silence uninitialized variable warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ce4f868031a31da759e3e687d7e3da237b4725e;p=mesa.git r600g: Silence uninitialized variable warning. --- diff --git a/src/gallium/drivers/r600/r600_context.c b/src/gallium/drivers/r600/r600_context.c index b72494e0306..7cd0af616d6 100644 --- a/src/gallium/drivers/r600/r600_context.c +++ b/src/gallium/drivers/r600/r600_context.c @@ -64,7 +64,7 @@ void r600_flush(struct pipe_context *ctx, unsigned flags, struct pipe_fence_handle **fence) { struct r600_context *rctx = r600_context(ctx); - struct r600_query *rquery; + struct r600_query *rquery = NULL; static int dc = 0; char dname[256];