Fix: yaffs_guts.c: In function 'yaffs_GarbageCollectBlock': yaffs_guts.c:2761:6: warning: variable 'retVal' set but not used [-Wunused-but-set-variable] Here GCC actually detected a bug. The code was always returning OK instead of the previously set retrun code. Fix that. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: William Juul <wiljuul@cisco.com> Cc: Scott Wood <scottwood@freescale.com> Acked-by: William Juul <wiljuul@cisco.com> |
||
---|---|---|
.. | ||
devextras.h | ||
Makefile | ||
README-linux | ||
yaffs_checkptrw.c | ||
yaffs_checkptrw.h | ||
yaffs_ecc.c | ||
yaffs_ecc.h | ||
yaffs_flashif.h | ||
yaffs_guts.c | ||
yaffs_guts.h | ||
yaffs_malloc.h | ||
yaffs_mtdif2.c | ||
yaffs_mtdif2.h | ||
yaffs_mtdif.c | ||
yaffs_mtdif.h | ||
yaffs_nand.c | ||
yaffs_nand.h | ||
yaffs_nandemul2k.h | ||
yaffs_packedtags1.c | ||
yaffs_packedtags1.h | ||
yaffs_packedtags2.c | ||
yaffs_packedtags2.h | ||
yaffs_qsort.c | ||
yaffs_qsort.h | ||
yaffs_ramdisk.h | ||
yaffs_tagscompat.c | ||
yaffs_tagscompat.h | ||
yaffs_tagsvalidity.c | ||
yaffs_tagsvalidity.h | ||
yaffscfg.c | ||
yaffscfg.h | ||
yaffsfs.c | ||
yaffsfs.h | ||
yaffsinterface.h | ||
ydirectenv.h | ||
yportenv.h |