From bf2c7469fba256e8d5fb3b5c6c130204550ec253 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 29 Dec 2011 18:12:09 -0800 Subject: [PATCH] i965: Silence gcc warning from resizing EU store changes. --- src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index c22b4083c71..1f4afa0edab 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -1201,7 +1201,7 @@ void brw_ENDIF(struct brw_compile *p) { struct intel_context *intel = &p->brw->intel; - struct brw_instruction *insn; + struct brw_instruction *insn = NULL; struct brw_instruction *else_inst = NULL; struct brw_instruction *if_inst = NULL; struct brw_instruction *tmp; -- 2.30.2