[U-Boot] [PATCH] common/console.c: Fix unused warning with console_doenv()

Tom Rini trini at konsulko.com
Thu Nov 7 17:31:07 UTC 2019


On Wed, Oct 30, 2019 at 09:18:43AM -0400, Tom Rini wrote:

> Newer versions of LLVM-7 will provide an unused function warning over
> console_doenv() in the case of SYS_CONSOLE_IS_IN_ENV not being enabled
> as can be the case in SPL.  Add guards around this function.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191107/40bb22c6/attachment.sig>


More information about the U-Boot mailing list