On Saturday, September 17, 2011 12:48:57 Simon Glass wrote:
> There are a few variables set but not used - this marks these as unused
> for the compiler.

summary says "sandbox:" but i dont think this has anything to do with sandbox.  
you're just using a newer compiler.

> --- a/common/cmd_mem.c
> +++ b/common/cmd_mem.c
>
> -     ulong   addr, length, i, junk;
> +     ulong   addr, length, i, junk __attribute__((unused));

this one is tricky as we just want to read the value from the volatile 
pointer.  i'm guessing do "*longp++;" just adds a different warning ?

> --- a/common/cmd_nvedit.c
> +++ b/common/cmd_nvedit.c
>
> -     int len;
> +     int len __attribute((unused));

this file though looks like we should just delete "len"
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to