Mesa (master): glsl: Remove unused pointer value.
Vinson Lee
vlee at kemper.freedesktop.org
Wed Sep 25 05:12:12 UTC 2013
Module: Mesa
Branch: master
Commit: 6128c226b43b059ca490a2513d1511a3134826fe
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6128c226b43b059ca490a2513d1511a3134826fe
Author: Vinson Lee <vlee at freedesktop.org>
Date: Mon Sep 23 21:41:39 2013 -0700
glsl: Remove unused pointer value.
Silences "Unused pointer value" defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
---
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
More information about the mesa-commit
mailing list