projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a060194
)
svga: Silence uninitialized variable warnings.
author
Vinson Lee
<vlee@vmware.com>
Sun, 11 Apr 2010 03:05:10 +0000
(20:05 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 11 Apr 2010 03:05:10 +0000
(20:05 -0700)
src/gallium/drivers/svga/svga_swtnl_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_swtnl_draw.c
b/src/gallium/drivers/svga/svga_swtnl_draw.c
index 0037bbd5fe549e84b01fff127e820bffe6c6bfd4..f771dd59d32b1d89bfe3c10ee9581225f383603a 100644
(file)
--- 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;