Skip to content
Snippets Groups Projects
user avatar
Wolfgang Denk authored
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: default avatarWolfgang Denk <wd@denx.de>
Cc: William Juul <wiljuul@cisco.com>
Cc: Scott Wood <scottwood@freescale.com>
Acked-by: default avatarWilliam Juul <wiljuul@cisco.com>
5c2db13a
History
Name Last commit Last update
..
cramfs
ext2
fat
fdos
jffs2
reiserfs
ubifs
yaffs2
Makefile