On Sunday, September 25, 2011 20:26:06 Marek Vasut wrote:
> cmd_mem.c: In function ‘do_mem_loop’:
> cmd_mem.c:474:25: warning: variable ‘junk’ set but not used
> [-Wunused-but-set-variable]
> 
> The assigned variable can be removed because the pointers are volatile so
> accesses to their addresses are always generated.

i think the stores to a var were added to avoid a gcc warning, but if newer 
versions don't warn anymore, should be fine.

Acked-by: Mike Frysinger <vap...@gentoo.org>
-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