From: Eric Anholt Date: Fri, 30 Dec 2011 02:12:09 +0000 (-0800) Subject: i965: Silence gcc warning from resizing EU store changes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf2c7469fba256e8d5fb3b5c6c130204550ec253;p=mesa.git i965: Silence gcc warning from resizing EU store changes. --- 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;