[riot-notifications] [RIOT-OS/RIOT] cpu/lpc1768: fix uninitialized variable (#9908)
notifications at github.com
Fri Jan 4 11:24:38 CET 2019
> cppcheck complains. IIRC that's why I didn't define dev with NULL. Will fix
Nope, the error was different ... it was `uninitialised used of dev`. Even with you solution it would have complained now, which is `NULL dereferencing`. So either way we need a check for `dev != NULL` before the loop. So you can keep the current way and add that check on top.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications