c_locale.h (__convert_from_v): Use attribute unused.

2003-04-23  Benjamin Kosnik  <bkoz@belmont.constant.com>

	* config/locale/generic/c_locale.h (__convert_from_v): Use
	attribute unused.

From-SVN: r66009
This commit is contained in:
Benjamin Kosnik 2003-04-23 19:30:33 +00:00 committed by Benjamin Kosnik
parent 5940c2b7a7
commit 40a22d93c6
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-04-23 Benjamin Kosnik <bkoz@belmont.constant.com>
* config/locale/generic/c_locale.h (__convert_from_v): Use
attribute unused.
2003-04-23 Phil Edwards <pme@gcc.gnu.org>
* docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial

View File

@ -52,7 +52,9 @@ namespace std
// be avoided.
template<typename _Tv>
int
__convert_from_v(char* __out, const int __size, const char* __fmt,
__convert_from_v(char* __out,
const int __size __attribute__ ((__unused__)),
const char* __fmt,
_Tv __v, const __c_locale&, int __prec = -1)
{
char* __old = setlocale(LC_ALL, NULL);