summaryrefslogtreecommitdiff
path: root/boost/date_time/format_date_parser.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/date_time/format_date_parser.hpp')
-rw-r--r--boost/date_time/format_date_parser.hpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/boost/date_time/format_date_parser.hpp b/boost/date_time/format_date_parser.hpp
index a40dee6fb6..0602e90f3f 100644
--- a/boost/date_time/format_date_parser.hpp
+++ b/boost/date_time/format_date_parser.hpp
@@ -659,8 +659,6 @@ class format_date_parser
string_type format_str,
match_results& mr) const
{
- bool use_current_char = false;
-
// skip leading whitespace
while(std::isspace(*sitr) && sitr != stream_end) { ++sitr; }
@@ -701,12 +699,7 @@ class format_date_parser
}
else { //skip past chars in format and in buffer
itr++;
- if (use_current_char) {
- use_current_char = false;
- }
- else {
- sitr++;
- }
+ sitr++;
}
}