From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 7 Nov 2019 12:31:07 -0500 Subject: [U-Boot] [PATCH] common/console.c: Fix unused warning with console_doenv() In-Reply-To: <20191030131843.15343-1-trini@konsulko.com> References: <20191030131843.15343-1-trini@konsulko.com> Message-ID: <20191107173107.GE19317@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: