r600g: Silence uninitialized variable warning.
authorVinson Lee <vlee@vmware.com>
Wed, 15 Sep 2010 13:09:28 +0000 (06:09 -0700)
committerVinson Lee <vlee@vmware.com>
Wed, 15 Sep 2010 13:09:28 +0000 (06:09 -0700)
src/gallium/drivers/r600/r600_context.c

index b72494e0306cae6df9e080fc5f6d5347f290acef..7cd0af616d661d519249edddab5eb60bf5ea0784 100644 (file)
@@ -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];