From: Tobias Klausmann Date: Fri, 25 Jul 2014 15:34:18 +0000 (+0200) Subject: nv50/ir: (trivial) initialize pointer to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9100c359ac17eb0699b3ce5224fd8299dfbe4350;p=mesa.git nv50/ir: (trivial) initialize pointer to silence warning Reviewed-by: Ilia Mirkin Signed-off-by: Tobias Klausmann --- 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;