projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71ecc2c
)
glsl: Remove unused pointer value.
author
Vinson Lee
<vlee@freedesktop.org>
Tue, 24 Sep 2013 04:41:39 +0000
(21:41 -0700)
committer
Vinson Lee
<vlee@freedesktop.org>
Wed, 25 Sep 2013 05:10:36 +0000
(22:10 -0700)
Silences "Unused pointer value" defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/program/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/program/ir_to_mesa.cpp
b/src/mesa/program/ir_to_mesa.cpp
index d5a6a872ab5ec31be0a1c8f6886152932d2ec11f..8cd42dfd257f5a8978a42400027c49464d685b6e 100644
(file)
--- 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