Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84834 - trunk/boost/date_time
From: marshall_at_[hidden]
Date: 2013-06-19 11:25:05


Author: marshall
Date: 2013-06-19 11:25:05 EDT (Wed, 19 Jun 2013)
New Revision: 84834
URL: http://svn.boost.org/trac/boost/changeset/84834

Log:
Fixed more compiler warnings; Refs #6136

Text files modified:
   trunk/boost/date_time/format_date_parser.hpp | 10 ----------
   1 files changed, 0 insertions(+), 10 deletions(-)

Modified: trunk/boost/date_time/format_date_parser.hpp
==============================================================================
--- trunk/boost/date_time/format_date_parser.hpp Wed Jun 19 01:53:12 2013 (r84833)
+++ trunk/boost/date_time/format_date_parser.hpp 2013-06-19 11:25:05 EDT (Wed, 19 Jun 2013) (r84834)
@@ -470,7 +470,6 @@
     
     // skip leading whitespace
     while(std::isspace(*sitr) && sitr != stream_end) { ++sitr; }
- charT current_char = *sitr;
 
     short month(0);
     
@@ -485,7 +484,6 @@
               mr = m_month_short_names.match(sitr, stream_end);
               month = mr.current_match;
               if (mr.has_remaining()) {
- current_char = mr.last_char();
                 use_current_char = true;
               }
               break;
@@ -495,7 +493,6 @@
               mr = m_month_long_names.match(sitr, stream_end);
               month = mr.current_match;
               if (mr.has_remaining()) {
- current_char = mr.last_char();
                 use_current_char = true;
               }
               break;
@@ -523,7 +520,6 @@
         itr++;
         if (use_current_char) {
           use_current_char = false;
- current_char = *sitr;
         }
         else {
           sitr++;
@@ -575,7 +571,6 @@
     
     // skip leading whitespace
     while(std::isspace(*sitr) && sitr != stream_end) { ++sitr; }
- charT current_char = *sitr;
 
     short wkday(0);
     
@@ -594,7 +589,6 @@
               mr = m_weekday_short_names.match(sitr, stream_end);
               wkday = mr.current_match;
               if (mr.has_remaining()) {
- current_char = mr.last_char();
                 use_current_char = true;
               }
               break;
@@ -608,7 +602,6 @@
               mr = m_weekday_long_names.match(sitr, stream_end);
               wkday = mr.current_match;
               if (mr.has_remaining()) {
- current_char = mr.last_char();
                 use_current_char = true;
               }
               break;
@@ -635,7 +628,6 @@
         itr++;
         if (use_current_char) {
           use_current_char = false;
- current_char = *sitr;
         }
         else {
           sitr++;
@@ -668,7 +660,6 @@
     
     // skip leading whitespace
     while(std::isspace(*sitr) && sitr != stream_end) { ++sitr; }
- charT current_char = *sitr;
 
     unsigned short year(0);
     
@@ -708,7 +699,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