Mesa (master): i965: Silence gcc warning from resizing EU store changes.
Eric Anholt
anholt at kemper.freedesktop.org
Mon Jan 2 18:46:24 UTC 2012
Module: Mesa
Branch: master
Commit: bf2c7469fba256e8d5fb3b5c6c130204550ec253
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf2c7469fba256e8d5fb3b5c6c130204550ec253
Author: Eric Anholt <eric at anholt.net>
Date: Thu Dec 29 18:12:09 2011 -0800
i965: Silence gcc warning from resizing EU store changes.
---
src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 +-
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 c22b408..1f4afa0 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;
More information about the mesa-commit
mailing list