Skip to contentSkip to conversation

sandbox: Uninitialized variable

U-Boot Wolfgang Denk 2 participants 2 messages Nov 6, 2014 – Nov 11, 2014

lore
Share & tools
lore
#0 lore raw

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]>
#1 lore raw

Hi Wolfgang,

Quoted 4 lines · Wolfgang Denk

Dear Simon,

cppcheck reports:

Quoted 8 lines

[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?

Yes will take a look when I get back to sandbox.

Regards,
Simon