On Tue, Jun 17, 2014 at 10:47:31PM +0200, Jeroen Hofstee wrote:

> clang warns this check is silly; it is since s is
> a local variable.
> 
> u-boot/drivers/mtd/cfi_flash.c:2363:13: warning: comparison of
>   array 's' not equal to a null pointer is always true
>   else if ((s != NULL) && (strcmp(s, "yes") == 0)) {
> 
> cc: Stefan Roese <[email protected]>
> Signed-off-by: Jeroen Hofstee <[email protected]>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to