ir_to_mesa: Fix uninitialized member in add_uniform_to_shader.
authorVinson Lee <vlee@freedesktop.org>
Thu, 12 Apr 2012 06:05:44 +0000 (23:05 -0700)
committerVinson Lee <vlee@freedesktop.org>
Fri, 13 Apr 2012 05:43:23 +0000 (22:43 -0700)
commit10ec14865aa7d0110ae202011be36d6e4a7ba154
tree3f90d915b6a082773baf6ff5713e0c835a526178
parent4f2eafe4dcea26d7275b121360c4f4e0b28455f5
ir_to_mesa: Fix uninitialized member in add_uniform_to_shader.

Fix uninitialized scalar field defect reported by Coverity.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/program/ir_to_mesa.cpp