Home
last modified time | relevance | path

Searched hist:c15df21fe79d420344a3ecb1bb60b8f97c6dec2e (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mtd/
H A Dcfi_flash.cc15df21fe79d420344a3ecb1bb60b8f97c6dec2e Tue Jun 17 20:47:31 UTC 2014 Jeroen Hofstee <jeroen@myspectrum.nl> mtd: cfi_flash: fix clang warning

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 <sr@denx.de>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>