GCC4.6: Squash warning in cmd_mem.c
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 26 Sep 2011 00:26:06 +0000 (02:26 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 1 Oct 2011 21:26:36 +0000 (23:26 +0200)
commitf3b3c3df189f4d35c903c3472619017d0bd1baa7
tree740831a3cd72c4df1cb9463b4e1381922f204810
parent564964bd8527667bf88a47890d73cac5eec16c55
GCC4.6: Squash warning in cmd_mem.c

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.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
common/cmd_mem.c