locale_facets.tcc (time_get::_M_extract_via_format): __mod is only assigned, never...
authorPaolo Carlini <pcarlini@suse.de>
Thu, 30 Oct 2003 09:03:01 +0000 (09:03 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 30 Oct 2003 09:03:01 +0000 (09:03 +0000)
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.

From-SVN: r73081

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

index dd2dc9b2cca8bf0b76789dba87ac6b3c1c749849..eec8bf9bb4666d8118b380b7eb8fa70d0e15f8f1 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 c827ba322e027f093a3a2b2c49e01637f347b3a7..8dd98efe0685823cf96f89616eb0a3d048dd7675 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;