summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvfx/nvfx_vertprog.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-04-10 20:45:03 -0700
committerVinson Lee <vlee@vmware.com>2010-04-10 20:45:03 -0700
commit8369f2005bc32221136592c7c9d9f0c93af561e5 (patch)
treec6ebb295f676f100aa54400d9faeedc61eddcfcb /src/gallium/drivers/nvfx/nvfx_vertprog.c
parentac18b8c44c1219f0f5162307477a615a13360bd6 (diff)
nvfx: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_vertprog.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_vertprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_vertprog.c b/src/gallium/drivers/nvfx/nvfx_vertprog.c
index 3547cad6ae..78ba10c31c 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;