[v3] Fix compile warning
Jerry Quinn
jlquinn@optonline.net
Sat Feb 22 05:14:00 GMT 2003
We were getting unused variable warnings from messages::messages. This
silences the compile warning.
OK mainline and 3.3?
2003-02-22 Jerry Quinn <jlquinn@optonline.net>
* config/locale/generic/messages_members.h (messages::messages):
Remove name from unused parameter.
*** messages_members.h.~1.3.~ Sat Feb 15 12:50:49 2003
--- messages_members.h Sat Feb 22 00:05:11 2003
***************
*** 40,46 ****
{ _M_c_locale_messages = _S_c_locale; }
template<typename _CharT>
! messages<_CharT>::messages(__c_locale __cloc, const char*, size_t __refs)
: locale::facet(__refs)
{ _M_c_locale_messages = _S_c_locale; }
--- 40,46 ----
{ _M_c_locale_messages = _S_c_locale; }
template<typename _CharT>
! messages<_CharT>::messages(__c_locale, const char*, size_t __refs)
: locale::facet(__refs)
{ _M_c_locale_messages = _S_c_locale; }
More information about the Libstdc++
mailing list