nv50/ir: (trivial) initialize pointer to silence warning
authorTobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Fri, 25 Jul 2014 15:34:18 +0000 (17:34 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 18 Aug 2014 23:41:26 +0000 (19:41 -0400)
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp

index 456efcbdf72a5da06ff853fe51a0666cdd6cf242..41b91e890b8e2f8a17ae5c22cc8c77905d726a8b 100644 (file)
@@ -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;