OSDN Git Service

glsl: Remove unused variable.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Aug 2011 21:03:26 +0000 (14:03 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 20 Aug 2011 06:29:23 +0000 (23:29 -0700)
src/glsl/lower_if_to_cond_assign.cpp

index 94b24db..7b89a15 100644 (file)
@@ -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) {