Mesa (master): nv50: Silence uninitialized variable warning.
Vinson Lee
vlee at kemper.freedesktop.org
Thu Sep 16 00:10:23 UTC 2010
Module: Mesa
Branch: master
Commit: cbc674879528e6b227aa2e67b6c58b54e24a3b97
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbc674879528e6b227aa2e67b6c58b54e24a3b97
Author: Vinson Lee <vlee at vmware.com>
Date: Wed Sep 15 17:09:59 2010 -0700
nv50: Silence uninitialized variable warning.
---
src/gallium/drivers/nv50/nv50_shader_state.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/nv50/nv50_shader_state.c b/src/gallium/drivers/nv50/nv50_shader_state.c
index 4b72c61..8c1a599 100644
--- a/src/gallium/drivers/nv50/nv50_shader_state.c
+++ b/src/gallium/drivers/nv50/nv50_shader_state.c
@@ -111,6 +111,7 @@ nv50_program_validate_data(struct nv50_context *nv50, struct nv50_program *p)
break;
default:
assert(0);
+ cbi = 0;
break;
}
More information about the mesa-commit
mailing list