OSDN Git Service

2003-10-30 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Oct 2003 09:03:01 +0000 (09:03 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Oct 2003 09:03:01 +0000 (09:03 +0000)
* include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
__mod is only assigned, never used its value, remove it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73081 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc

index dd2dc9b..eec8bf9 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-30  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
+       __mod is only assigned, never used its value, remove it.
+
 2003-10-29  Paolo Carlini  <pcarlini@suse.de>
 
        * include/bits/locale_facets.tcc (time_get::do_get_year):
index c827ba3..8dd98ef 100644 (file)
@@ -1544,13 +1544,9 @@ namespace std
            {
              // Verify valid formatting code, attempt to extract.
              __c = __format[++__i];
-             char __mod = 0;
              int __mem = 0; 
              if (__c == 'E' || __c == 'O')
-               {
-                 __mod = __c;
-                 __c = __format[++__i];
-               }
+               __c = __format[++__i];
              switch (__c)
                {
                  const char* __cs;