st/mesa: Ensure dst in compile_instruction is initialized.
Fixes uninitialized scalar variable defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
f6ad8b45c2
commit
350f12fb65
|
@ -680,7 +680,7 @@ compile_instruction(
|
|||
{
|
||||
struct ureg_program *ureg = t->ureg;
|
||||
GLuint i;
|
||||
struct ureg_dst dst[1];
|
||||
struct ureg_dst dst[1] = { { 0 } };
|
||||
struct ureg_src src[4];
|
||||
unsigned num_dst;
|
||||
unsigned num_src;
|
||||
|
|
Loading…
Reference in New Issue