[U-Boot] [drivers/usb/gadget/f_dfu.c:687]: (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

Hi Wolfgang,
Hello,
cppcheck reports:
[drivers/usb/gadget/f_dfu.c:687]: (error) Uninitialized variable: d
can 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...
Best regards,
Wolfgang Denk

Dear Lukasz,
In message 20141106135936.26788299@amdc2363 you wrote:
[drivers/usb/gadget/f_dfu.c:687]: (error) Uninitialized variable: d
...
I will look on it, but first at a first glance it all looks correct. We definitely need usb_interface descriptor...
You are right. This appears to be a false positive. Strange...
Best regards,
Wolfgang Denk
participants (2)
-
Lukasz Majewski
-
Wolfgang Denk