[U-Boot] [PATCH 2/7] CFI: fix warning: variable ... set but not used
Wolfgang Denk
wd at denx.de
Sun Oct 9 22:41:45 CEST 2011
Dear Wolfgang Denk,
In message <1317849453-8216-2-git-send-email-wd at denx.de> you wrote:
> Fix:
> cfi_mtd.c: In function 'cfi_mtd_init':
> cfi_mtd.c:226:19: warning: variable 'mtd_list' set but not used [-Wunused-but-set-variable]
> cfi_mtd.c: In function 'cfi_mtd_init':
> cfi_mtd.c:226:19: warning: variable 'mtd_list' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Stefan Roese <sr at denx.de>
> ---
> common/cmd_mtdparts.c | 9 +++++++--
> drivers/mtd/cfi_mtd.c | 4 ++++
> 2 files changed, 11 insertions(+), 2 deletions(-)
Applied (with changes to fix the other issue, too).
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Is truth not truth for all?
-- Natira, "For the World is Hollow and I have Touched
the Sky", stardate 5476.4.
More information about the U-Boot
mailing list