summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2003-10-30 09:03:01 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2003-10-30 09:03:01 +0000
commit08b9183d620a6ec917101ac0b12c168daeedc680 (patch)
treee2822b6037c0c09367a1e3e8007bfdc503862b2e
parente7824b3ed5324c1c7dc8b159ea05bcdebf655345 (diff)
downloadgcc-08b9183d620a6ec917101ac0b12c168daeedc680.tar.gz
locale_facets.tcc (time_get::_M_extract_via_format): __mod is only assigned, never used its value, remove it.
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
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/bits/locale_facets.tcc6
2 files changed, 6 insertions, 5 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index dd2dc9b2cca..eec8bf9bb46 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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):
diff --git a/libstdc++-v3/include/bits/locale_facets.tcc b/libstdc++-v3/include/bits/locale_facets.tcc
index c827ba322e0..8dd98efe068 100644
--- a/libstdc++-v3/include/bits/locale_facets.tcc
+++ b/libstdc++-v3/include/bits/locale_facets.tcc
@@ -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;