https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82252
--- Comment #3 from David Binderman <dcb314 at hotmail dot com> --- (In reply to Jonathan Wakely from comment #2) > What tool produces this warning? cppcheck, available from sourceforge. My apologies for the false positive.