i965: Silence gcc warning from resizing EU store changes.
authorEric Anholt <eric@anholt.net>
Fri, 30 Dec 2011 02:12:09 +0000 (18:12 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 2 Jan 2012 18:38:47 +0000 (10:38 -0800)
src/mesa/drivers/dri/i965/brw_eu_emit.c

index c22b4083c71a98aa0850c9ddade7ef80e205d507..1f4afa0edabc1a5e1a77e759bbd5f4a91505ed2b 100644 (file)
@@ -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;