diff options
author | Vinson Lee <vlee@vmware.com> | 2010-04-10 20:05:10 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-04-10 20:05:10 -0700 |
commit | e19ea63b803a81a719040ed4f9daf958359f9c0b (patch) | |
tree | c4a858d33d1577ffb44c0101f34fe545b668dfaf | |
parent | a0601945191c3a9762a691c78ebdcabc9c2ece23 (diff) |
svga: Silence uninitialized variable warnings.
-rw-r--r-- | src/gallium/drivers/svga/svga_swtnl_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_swtnl_draw.c b/src/gallium/drivers/svga/svga_swtnl_draw.c index 0037bbd5fe..f771dd59d3 100644 --- a/src/gallium/drivers/svga/svga_swtnl_draw.c +++ b/src/gallium/drivers/svga/svga_swtnl_draw.c @@ -44,8 +44,8 @@ svga_swtnl_draw_range_elements(struct svga_context *svga, unsigned prim, unsigned start, unsigned count) { 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; struct draw_context *draw = svga->swtnl.draw; unsigned i; const void *map; |