aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@belmont.constant.com>2003-04-23 19:30:33 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2003-04-23 19:30:33 +0000
commit40a22d93c6987b8d396aa51da5091f396ec7d82e (patch)
tree9da3cee5ee8d75bf5626f08efdbebbdfff664ea4
parent5940c2b7a753530dfa922df00866d7b381ae21ed (diff)
downloadgcc-40a22d93c6987b8d396aa51da5091f396ec7d82e.zip
gcc-40a22d93c6987b8d396aa51da5091f396ec7d82e.tar.gz
gcc-40a22d93c6987b8d396aa51da5091f396ec7d82e.tar.bz2
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
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/config/locale/generic/c_locale.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index f0474b5ff..62d0bc0 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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
diff --git a/libstdc++-v3/config/locale/generic/c_locale.h b/libstdc++-v3/config/locale/generic/c_locale.h
index ccc1f25..0fa425c 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<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);