[U-Boot] LzmaTools: don't self assign values
Tom Rini
trini at ti.com
Thu Jun 12 00:20:33 CEST 2014
On Tue, Jun 10, 2014 at 11:37:23PM +0200, Jeroen Hofstee wrote:
> It seems the code tries to trick the compiler the argument
> is actually used. However compilers became too smart to
> fool them so easily an now warn. Gcc and clang don't seem
> to emit a warning when the argument is unused. If so it
> should be decorated with unused / (void).
>
> Signed-off-by: Jeroen Hofstee <jeroen at myspectrum.nl>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140611/18f8559f/attachment.pgp>
More information about the U-Boot
mailing list