Mesa (master): glsl: Remove unused variable.

Kenneth Graunke kwg at kemper.freedesktop.org
Fri Aug 19 23:29:25 PDT 2011


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Aug 18 14:03:26 2011 -0700

glsl: Remove unused variable.

---

 src/glsl/lower_if_to_cond_assign.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/glsl/lower_if_to_cond_assign.cpp b/src/glsl/lower_if_to_cond_assign.cpp
index 94b24db..7b89a15 100644
--- a/src/glsl/lower_if_to_cond_assign.cpp
+++ b/src/glsl/lower_if_to_cond_assign.cpp
@@ -169,7 +169,6 @@ ir_if_to_cond_assign_visitor::visit_leave(ir_if *ir)
 
    bool found_control_flow = false;
    ir_assignment *assign;
-   ir_dereference_variable *deref;
 
    /* Check that both blocks don't contain anything we can't support. */
    foreach_iter(exec_list_iterator, then_iter, ir->then_instructions) {



More information about the mesa-commit mailing list