diff options
author | Vinson Lee <vlee@freedesktop.org> | 2013-09-23 21:41:39 -0700 |
---|---|---|
committer | Vinson Lee <vlee@freedesktop.org> | 2013-09-24 22:10:36 -0700 |
commit | 6128c226b43b059ca490a2513d1511a3134826fe (patch) | |
tree | e7f26c12001400700ab146c6bed003a4f7c4c3da /src/mesa | |
parent | 71ecc2cf71e678daca347bb10dd48e037ecd10af (diff) | |
download | external_mesa3d-6128c226b43b059ca490a2513d1511a3134826fe.zip external_mesa3d-6128c226b43b059ca490a2513d1511a3134826fe.tar.gz external_mesa3d-6128c226b43b059ca490a2513d1511a3134826fe.tar.bz2 |
glsl: Remove unused pointer value.
Silences "Unused pointer value" defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index d5a6a87..8cd42df 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 |