Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80699 - trunk/boost/date_time
From: marshall_at_[hidden]
Date: 2012-09-24 17:41:07


Author: marshall
Date: 2012-09-24 17:41:06 EDT (Mon, 24 Sep 2012)
New Revision: 80699
URL: http://svn.boost.org/trac/boost/changeset/80699

Log:
Remove unused variable; Refs #7342 Refs #6136
Text files modified:
   trunk/boost/date_time/format_date_parser.hpp | 6 ------
   1 files changed, 0 insertions(+), 6 deletions(-)

Modified: trunk/boost/date_time/format_date_parser.hpp
==============================================================================
--- trunk/boost/date_time/format_date_parser.hpp (original)
+++ trunk/boost/date_time/format_date_parser.hpp 2012-09-24 17:41:06 EDT (Mon, 24 Sep 2012)
@@ -256,7 +256,6 @@
     
     // skip leading whitespace
     while(std::isspace(*sitr) && sitr != stream_end) { ++sitr; }
- charT current_char = *sitr;
 
     short year(0), month(0), day(0), day_of_year(0);// wkday(0);
     /* Initialized the following to their minimum values. These intermediate
@@ -290,7 +289,6 @@
               }
               wkday = mr.current_match;
               if (mr.has_remaining()) {
- current_char = mr.last_char();
                 use_current_char = true;
               }
               break;
@@ -310,7 +308,6 @@
               }
               wkday = mr.current_match;
               if (mr.has_remaining()) {
- current_char = mr.last_char();
                 use_current_char = true;
               }
               break;
@@ -326,7 +323,6 @@
               }
               t_month = month_type(mr.current_match);
               if (mr.has_remaining()) {
- current_char = mr.last_char();
                 use_current_char = true;
               }
               break;
@@ -342,7 +338,6 @@
               }
               t_month = month_type(mr.current_match);
               if (mr.has_remaining()) {
- current_char = mr.last_char();
                 use_current_char = true;
               }
               break;
@@ -438,7 +433,6 @@
         itr++;
         if (use_current_char) {
           use_current_char = false;
- current_char = *sitr;
         }
         else {
           sitr++;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk