[U-Boot] sandbox: Uninitialized variable

Wolfgang Denk wd at denx.de
Thu Nov 6 12:58:14 CET 2014


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

-- 
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
        <Pine.GSO.3.96.980526121813.27437N-100000 at user2.teleport.com>


More information about the U-Boot mailing list