I am not sure, but I get a warning about nullPointerRedundantCheck from the code below. By adding the commented line the warning is gone..
Using latest build of cppcheck. The small little test program is extracted from something I found in a code review..
I am not sure, but I get a warning about nullPointerRedundantCheck from the code below. By adding the commented line the warning is gone..
Using latest build of cppcheck. The small little test program is extracted from something I found in a code review..
Thanks! Ouch thats not nice :-(. I created ticket https://trac.cppcheck.net/ticket/9842