From 1ce4f868031a31da759e3e687d7e3da237b4725e Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 15 Sep 2010 06:09:28 -0700 Subject: r600g: Silence uninitialized variable warning. --- src/gallium/drivers/r600/r600_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/drivers/r600/r600_context.c b/src/gallium/drivers/r600/r600_context.c index b72494e030..7cd0af616d 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]; -- cgit v1.2.3