summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-09-15 06:09:28 -0700
committerVinson Lee <[email protected]>2010-09-15 06:09:28 -0700
commit1ce4f868031a31da759e3e687d7e3da237b4725e (patch)
treeb0d0a33609d3a62885c5a317f32299a658c7edd3 /src/gallium
parenta712e193a3f58f4f40402c34adf16de255afa760 (diff)
r600g: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/r600_context.c2
1 files changed, 1 insertions, 1 deletions
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];