sandbox: Uninitialized variable
Dear Simon,
cppcheck reports:
[arch/sandbox/cpu/start.c:132]: (error) Uninitialized variable: err
And also:
[arch/sandbox/cpu/os.c:371]: (error) Memory leak: fname
Could you please have a look?
Thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
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
Eeeek!
'eval' on strings should have been named 'evil'. -- Tom Phoenix in
<[email protected]>Hi Wolfgang,
Quoted 4 lines · Wolfgang Denk
Dear Simon,
cppcheck reports:
Quoted 8 lines
[
arch/sandbox/cpu/start.c:132]: (error) Uninitialized variable: errAnd also:
[
arch/sandbox/cpu/os.c:371]: (error) Memory leak: fnameCould you please have a look?
Yes will take a look when I get back to sandbox.
Regards,
Simon