[U-Boot] MCF: uninitialized variables

6 Nov
2014
6 Nov
'14
12:47 p.m.
Hello,
cppcheck reports:
[arch/m68k/cpu/mcf5227x/speed.c:89]: (error) Uninitialized variable: bootmode [arch/m68k/cpu/mcf532x/speed.c:248]: (error) Uninitialized variable: fout [arch/m68k/cpu/mcf5445x/speed.c:194]: (error) Uninitialized variable: bootmode
Could you please have a look how to fix this?
Eventually this could be used as opportunity to clean up the code a bit.
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
It usually takes more than three weeks to prepare a good impromptu
speech. - Mark Twain
3843
Age (days ago)
3843
Last active (days ago)
0 comments
1 participants
participants (1)
-
Wolfgang Denk