LzmaTools: don't self assign values
authorJeroen Hofstee <jeroen@myspectrum.nl>
Tue, 10 Jun 2014 21:37:23 +0000 (23:37 +0200)
committerTom Rini <trini@ti.com>
Wed, 11 Jun 2014 20:27:06 +0000 (16:27 -0400)
commit867abdac5effde660ac1ca9db8c43994edc01c09
treebbf7519cf64f36070231fc1fe39192a2433a48a8
parentc84f9e0d42c499647b3cfbb6358d601b61a6b4cd
LzmaTools: don't self assign values

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@myspectrum.nl>
lib/lzma/LzmaTools.c