On Sun, 2010-01-24 at 19:27 +0100, Marcin Slusarz wrote:
> "unsafe" is never initialized, but used
> (found by valgrind)
Pushed, plus the other three patches you pinged on.

Ben.
> ---
>  src/gallium/drivers/nv50/nv50_program.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/gallium/drivers/nv50/nv50_program.c 
> b/src/gallium/drivers/nv50/nv50_program.c
> index cfe8b48..6d9ac14 100644
> --- a/src/gallium/drivers/nv50/nv50_program.c
> +++ b/src/gallium/drivers/nv50/nv50_program.c
> @@ -3275,7 +3275,7 @@ prep_inspect_insn(struct nv50_pc *pc, const struct 
> tgsi_full_instruction *insn)
>  static unsigned
>  nv50_revdep_reorder(unsigned m[4], unsigned rdep[4])
>  {
> -     unsigned i, c, x, unsafe;
> +     unsigned i, c, x, unsafe = 0;
>  
>       for (c = 0; c < 4; c++)
>               m[c] = c;


_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to