From 9100c359ac17eb0699b3ce5224fd8299dfbe4350 Mon Sep 17 00:00:00 2001 From: Tobias Klausmann Date: Fri, 25 Jul 2014 17:34:18 +0200 Subject: [PATCH] nv50/ir: (trivial) initialize pointer to silence warning Reviewed-by: Ilia Mirkin Signed-off-by: Tobias Klausmann --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2