Skip to content
Snippets Groups Projects
Commit f3b3c3df authored by Marek Vasut's avatar Marek Vasut Committed by Wolfgang Denk
Browse files

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: default avatarMarek Vasut <marek.vasut@gmail.com>
parent 564964bd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment