summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-12-29 18:12:09 -0800
committerEric Anholt <[email protected]>2012-01-02 10:38:47 -0800
commitbf2c7469fba256e8d5fb3b5c6c130204550ec253 (patch)
treebb81d4f4df35b72241df1c6059f873a224e2aa7a /src
parentbce506ffc09c44552c3d1053c6a0450b8f010292 (diff)
i965: Silence gcc warning from resizing EU store changes.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_eu_emit.c2
1 files changed, 1 insertions, 1 deletions
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;