[Mesa-dev] [PATCH] glsl: Remove unused pointer value.
Vinson Lee
vlee at freedesktop.org
Mon Sep 23 21:44:20 PDT 2013
Silences "Unused pointer value" defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
src/mesa/program/ir_to_mesa.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
1.8.3.1
More information about the mesa-dev
mailing list