: (error) Uninitialized variable: d
Hello,
cppcheck reports:
[drivers/usb/gadget/f_dfu.c:687]: (error) Uninitialized variable: d
can you please have a look? Thanks!
Best regards,
Wolfgang Denk
Signature · 7 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
You could end up being oddly sad and full of a strange, diffuse com-
passion which would lead you to believe that it might be a good idea
to wipe out the whole human race and start again with amoebas.
- Terry Pratchett, _Guards! Guards!_Hi Wolfgang,
Quoted 7 lines
Hello,
cppcheck reports:
[
drivers/usb/gadget/f_dfu.c:687]: (error) Uninitialized variable: dcan you please have a look? Thanks!
I will look on it, but first at a first glance it all looks correct. We definitely need usb_interface descriptor...
Quoted 6 lines
Best regards,
Wolfgang Denk
Signature · 5 lines
Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
Dear Lukasz,
Quoted 2 lines · In message <20141106135936.26788299@amdc2363> you wrote:
Quoted 2 lines
[
drivers/usb/gadget/f_dfu.c:687]: (error) Uninitialized variable: d
...
Quoted 2 lines
I will look on it, but first at a first glance it all looks correct. We definitely need
usb_interfacedescriptor...
You are right. This appears to be a false positive. Strange...
Best regards,
Wolfgang Denk
Signature · 5 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 It is dangerous to be right on a subject on which the established authorities are wrong. -- Voltaire