Mesa (master): nvfx: Silence uninitialized variable warnings.
Vinson Lee
vlee at kemper.freedesktop.org
Sun Apr 11 03:29:08 UTC 2010
Module: Mesa
Branch: master
Commit: ac18b8c44c1219f0f5162307477a615a13360bd6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac18b8c44c1219f0f5162307477a615a13360bd6
Author: Vinson Lee <vlee at vmware.com>
Date: Sat Apr 10 20:28:24 2010 -0700
nvfx: Silence uninitialized variable warnings.
---
src/gallium/drivers/nvfx/nvfx_draw.c | 4 ++--
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 fc6f8d0..1d791c1 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;
More information about the mesa-commit
mailing list