From: Vinson Lee Date: Tue, 24 Sep 2013 04:41:39 +0000 (-0700) Subject: glsl: Remove unused pointer value. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6128c226b43b059ca490a2513d1511a3134826fe;p=mesa.git glsl: Remove unused pointer value. Silences "Unused pointer value" defect reported by Coverity. Signed-off-by: Vinson Lee Reviewed-by: Eric Anholt --- diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index d5a6a872ab5..8cd42dfd257 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -2252,7 +2252,7 @@ ir_to_mesa_visitor::visit(ir_if *ir) visit_exec_list(&ir->else_instructions, this); } - if_inst = emit(ir->condition, OPCODE_ENDIF); + emit(ir->condition, OPCODE_ENDIF); } void