From 8369f2005bc32221136592c7c9d9f0c93af561e5 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 10 Apr 2010 20:45:03 -0700 Subject: [PATCH] nvfx: Silence uninitialized variable warning. --- src/gallium/drivers/nvfx/nvfx_vertprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nvfx/nvfx_vertprog.c b/src/gallium/drivers/nvfx/nvfx_vertprog.c index 3547cad6aeb..78ba10c31c5 100644 --- a/src/gallium/drivers/nvfx/nvfx_vertprog.c +++ b/src/gallium/drivers/nvfx/nvfx_vertprog.c @@ -839,7 +839,7 @@ nvfx_vertprog_validate(struct nvfx_context *nvfx) struct nouveau_grobj *eng3d = screen->eng3d; struct nvfx_vertex_program *vp; struct pipe_resource *constbuf; - struct pipe_transfer *transfer; + struct pipe_transfer *transfer = NULL; boolean upload_code = FALSE, upload_data = FALSE; int i; -- 2.30.2