llvmpipe: Silence uninitialized variable warning.
authorVinson Lee <vlee@vmware.com>
Sun, 14 Feb 2010 07:48:40 +0000 (23:48 -0800)
committerVinson Lee <vlee@vmware.com>
Sun, 14 Feb 2010 07:48:40 +0000 (23:48 -0800)
src/gallium/drivers/llvmpipe/lp_scene_queue.c

index 43d74e4d89d8ca2bd3aa860a35e2fcf79e1e2934..975db43c4e991b1521b3f788806584fd0ac93651 100644 (file)
@@ -92,6 +92,8 @@ lp_scene_dequeue(struct lp_scene_queue *queue, boolean wait)
    struct scene_packet packet;
    enum pipe_error ret;
 
+   packet.scene = NULL;
+
    ret = util_ringbuffer_dequeue(queue->ring,
                                  &packet.header,
                                  sizeof packet / 4,