What warning with what compiler? Pretty sure this builds cleanly for me.

On Jul 25, 2014 11:37 AM, "Tobias Klausmann" <
[email protected]> wrote:
>
> Signed-off-by: Tobias Klausmann <[email protected]>
> ---
>  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 14b6d68..7aa4728 100644
> --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
> @@ -2139,7 +2139,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;
> --
> 1.8.4.5
>
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to