From 1ce4f868031a31da759e3e687d7e3da237b4725e Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 15 Sep 2010 06:09:28 -0700 Subject: [PATCH] r600g: Silence uninitialized variable warning. --- src/gallium/drivers/r600/r600_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.30.2