From: Benjamin Kosnik Date: Wed, 23 Apr 2003 19:30:33 +0000 (+0000) Subject: c_locale.h (__convert_from_v): Use attribute unused. X-Git-Tag: releases/gcc-3.4.0~7065 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40a22d93c6987b8d396aa51da5091f396ec7d82e;p=thirdparty%2Fgcc.git c_locale.h (__convert_from_v): Use attribute unused. 2003-04-23 Benjamin Kosnik * config/locale/generic/c_locale.h (__convert_from_v): Use attribute unused. From-SVN: r66009 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f0474b5ff73e..62d0bc0470c4 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2003-04-23 Benjamin Kosnik + + * config/locale/generic/c_locale.h (__convert_from_v): Use + attribute unused. + 2003-04-23 Phil Edwards * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial diff --git a/libstdc++-v3/config/locale/generic/c_locale.h b/libstdc++-v3/config/locale/generic/c_locale.h index ccc1f2503e03..0fa425c59575 100644 --- a/libstdc++-v3/config/locale/generic/c_locale.h +++ b/libstdc++-v3/config/locale/generic/c_locale.h @@ -52,7 +52,9 @@ namespace std // be avoided. template 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);