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