summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTobias Klausmann <[email protected]>2014-07-25 17:34:18 +0200
committerIlia Mirkin <[email protected]>2014-08-18 19:41:26 -0400
commit9100c359ac17eb0699b3ce5224fd8299dfbe4350 (patch)
treef9d8799e16ed7a4f20e81c88cb44e4030290a3a9 /src
parent76f687d5a5be9d3bce8d05bcfef97a3d74ca1f18 (diff)
nv50/ir: (trivial) initialize pointer to silence warning
Reviewed-by: Ilia Mirkin <[email protected]> Signed-off-by: Tobias Klausmann <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
index 456efcbdf72..41b91e890b8 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
@@ -2141,7 +2141,7 @@ Converter::handleINTERP(Value *dst[4])
{
// Check whether the input is linear. All other attributes ignored.
Instruction *insn;
- Value *offset = NULL, *ptr = NULL, *w;
+ Value *offset = NULL, *ptr = NULL, *w = NULL;
bool linear;
operation op;
int c, mode;