projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf2c746
)
i965: Silence gcc warning about uninitialized "inst" in assert() case.
author
Eric Anholt
<eric@anholt.net>
Fri, 30 Dec 2011 07:48:24 +0000
(23:48 -0800)
committer
Eric Anholt
<eric@anholt.net>
Mon, 2 Jan 2012 18:38:47 +0000
(10:38 -0800)
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index 74e486cc0138051e8dc6f7646d5396d4400dbb6b..52e63f86b54428826a7173583ac46c20b2efbf7c 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@
-1762,7
+1762,7
@@
vec4_visitor::visit(ir_texture *ir)
/* Should be lowered by do_lower_texture_projection */
assert(!ir->projector);
- vec4_instruction *inst;
+ vec4_instruction *inst
= NULL
;
switch (ir->op) {
case ir_tex:
case ir_txl: