
10 Dec
2011
10 Dec
'11
11:08 p.m.
Dear Wolfgang Denk,
In message 1323429272-26801-4-git-send-email-wd@denx.de you wrote:
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 william.juul@tandberg.com Cc: Scott Wood scottwood@freescale.com
fs/yaffs2/yaffs_guts.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
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@denx.de
I distrust all systematisers, and avoid them. The will to a system
shows a lack of honesty.
- Friedrich Wilhelm Nietzsche _Götzen-Dämmerung [The Twilight of the
Idols]_ ``Maxims and Missiles'' no. 26