This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] Fix compile warning


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 at optonline dot 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; }
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]