summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_draw.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-04-10 20:28:24 -0700
committerVinson Lee <[email protected]>2010-04-10 20:28:24 -0700
commitac18b8c44c1219f0f5162307477a615a13360bd6 (patch)
tree70212976a004575de11f3ec1e6e88d8972da3ad5 /src/gallium/drivers/nvfx/nvfx_draw.c
parent95d3bdd338a1bc90ec382d5faa82ea3d0a2b3c67 (diff)
nvfx: Silence uninitialized variable warnings.
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_draw.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_draw.c b/src/gallium/drivers/nvfx/nvfx_draw.c
index fc6f8d02721..1d791c155bb 100644
--- a/src/gallium/drivers/nvfx/nvfx_draw.c
+++ b/src/gallium/drivers/nvfx/nvfx_draw.c
@@ -239,8 +239,8 @@ nvfx_draw_elements_swtnl(struct pipe_context *pipe,
{
struct nvfx_context *nvfx = nvfx_context(pipe);
struct pipe_transfer *vb_transfer[PIPE_MAX_ATTRIBS];
- struct pipe_transfer *ib_transfer;
- struct pipe_transfer *cb_transfer;
+ struct pipe_transfer *ib_transfer = NULL;
+ struct pipe_transfer *cb_transfer = NULL;
unsigned i;
void *map;