From: Greg Ungerer Date: Mon, 29 Oct 2012 06:15:43 +0000 (+1000) Subject: m68k: fix unused variable warning in mempcy.c X-Git-Tag: v3.8-rc1~86^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=423c01eac31fe9e6c9eee7bf45ace9abcd57251b;p=pandora-kernel.git m68k: fix unused variable warning in mempcy.c When compiling for original 68000 or ColdFire targets you will get the following warning when compiling arch/m68k/lib/memcpy.c: CC arch/m68k/lib/memcpy.o arch/m68k/lib/memcpy.c: In function ‘__builtin_memcpy’: arch/m68k/lib/memcpy.c:13:15: warning: unused variable ‘temp1’ This is easily fixed by moving the definition of temp1 into the code block where it is used. Signed-off-by: Greg Ungerer --- Reading git-diff-tree failed