Mesa (master): nv50: Remove dead initialization.

Vinson Lee vlee at kemper.freedesktop.org
Sun Sep 19 06:07:01 UTC 2010


Module: Mesa
Branch: master
Commit: 03cf572598a1eb593ecebf8c72759bab41588c44
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03cf572598a1eb593ecebf8c72759bab41588c44

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Sep 18 23:06:29 2010 -0700

nv50: Remove dead initialization.

---

 src/gallium/drivers/nv50/nv50_pc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/nv50/nv50_pc.c b/src/gallium/drivers/nv50/nv50_pc.c
index 42127a1..c88e7ba 100644
--- a/src/gallium/drivers/nv50/nv50_pc.c
+++ b/src/gallium/drivers/nv50/nv50_pc.c
@@ -328,7 +328,7 @@ nv_pc_pass_in_order(struct nv_basic_block *root, nv_pc_pass_func f, void *priv)
 static void
 nv_do_print_function(void *priv, struct nv_basic_block *b)
 {
-   struct nv_instruction *i = b->phi;
+   struct nv_instruction *i;
 
    debug_printf("=== BB %i ", b->id);
    if (b->out[0])




More information about the mesa-commit mailing list