[Bug libstdc++/65927] cppcheck: bits/locale_facets_nonio.h (_M_am_pm_format): Assignment of function parameter has no effect outside the function
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 30 17:29:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65927
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Nov 30 17:29:08 2017
New Revision: 255278
URL: https://gcc.gnu.org/viewcvs?rev=255278&root=gcc&view=rev
Log:
PR libstdc++/65927 Fix -Wunused-but-set-parameter warning
PR libstdc++/65927
* include/bits/locale_facets_nonio.h (__timepunct::_M_am_pm_format):
Remove statement with no effect.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/locale_facets_nonio.h
More information about the Gcc-bugs
mailing list