[U-Boot] cmd_md5sum.c: remove dead code / fix warning
Tom Rini
trini at ti.com
Thu Jun 19 17:23:07 CEST 2014
On Mon, Jun 16, 2014 at 12:10:42AM +0200, Jeroen Hofstee wrote:
> commit ecd729500 "Add parameter to md5sum to save the md5 sum"
> adds support to build a string to be saved in the env and tries
> to zero end it with str_ptr = '\0'; This does actually set the
> pointer to the end of the buffer itself to zero. Since the
> string was already zero terminated by the sprintf before it,
> just remove the line, preventing a clang warning.
>
> cc: Joe Hershberger <joe.hershberger at ni.com>
> 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/20140619/c71de984/attachment.pgp>
More information about the U-Boot
mailing list