https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66773
--- Comment #10 from Daniel Marjamäki <daniel.marjamaki at gmail dot com> --- Well I am just a happy gcc user.. if some gcc maintainer thinks this ticket is invalid feel free to close it. I can't expect that everybody will think just like me. :-) As a Cppcheck developer I am dissappointed that all compilers have these warnings. And it ruins our chances to find real bugs with proper analysis.