Mesa (master): r600g: Silence uninitialized variable warning.
Vinson Lee
vlee at kemper.freedesktop.org
Wed Sep 15 13:09:52 UTC 2010
Module: Mesa
Branch: master
Commit: 1ce4f868031a31da759e3e687d7e3da237b4725e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ce4f868031a31da759e3e687d7e3da237b4725e
Author: Vinson Lee <vlee at vmware.com>
Date: Wed Sep 15 06:09:28 2010 -0700
r600g: Silence uninitialized variable warning.
---
src/gallium/drivers/r600/r600_context.c | 2 +-
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 b72494e..7cd0af6 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];
More information about the mesa-commit
mailing list