mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
i965: Silence uninitialized variable warning.
Silences this GCC warning. brw_wm_fp.c: In function 'brw_wm_pass_fp': brw_wm_fp.c:966: warning: 'last_inst' may be used uninitialized in this function brw_wm_fp.c:966: note: 'last_inst' was declared here
This commit is contained in:
parent
03577f8250
commit
3168c6ff1a
1 changed files with 1 additions and 1 deletions
|
|
@ -963,7 +963,7 @@ static void emit_render_target_writes( struct brw_wm_compile *c )
|
|||
struct prog_src_register outcolor;
|
||||
GLuint i;
|
||||
|
||||
struct prog_instruction *inst, *last_inst;
|
||||
struct prog_instruction *inst, *last_inst = NULL;
|
||||
|
||||
/* The inst->Aux field is used for FB write target and the EOT marker */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue