c_locale.h (__convert_from_v): Use attribute unused.
authorBenjamin Kosnik <bkoz@belmont.constant.com>
Wed, 23 Apr 2003 19:30:33 +0000 (19:30 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 23 Apr 2003 19:30:33 +0000 (19:30 +0000)
2003-04-23  Benjamin Kosnik  <bkoz@belmont.constant.com>

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

From-SVN: r66009

libstdc++-v3/ChangeLog
libstdc++-v3/config/locale/generic/c_locale.h

index f0474b5..62d0bc0 100644 (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
index ccc1f25..0fa425c 100644 (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);