mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 04:00:10 +01:00
ir_constant_expression: Initialize op[0] and op[1] to NULL.
This makes it easy to check if there is a second argument.
This commit is contained in:
parent
c63a1db81f
commit
6bc432e14e
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ void
|
|||
ir_constant_visitor::visit(ir_expression *ir)
|
||||
{
|
||||
value = NULL;
|
||||
ir_constant *op[2];
|
||||
ir_constant *op[2] = { NULL, NULL };
|
||||
unsigned int operand, c;
|
||||
ir_constant_data data;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue