QDateTimeParser: remove unused local variables

Change-Id: Id78fde8a720961c448d1aa3983ad296974796fdf
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
bb10
Maks Naumov 2014-09-05 12:29:02 +03:00 committed by Marc Mutz
parent 0e2c329313
commit a3421d1ba6
1 changed files with 0 additions and 2 deletions

View File

@ -749,7 +749,6 @@ int QDateTimeParser::parseSection(const QDateTime &currentValue, int sectionInde
break;
}
if (state != Invalid) {
QString str = text;
text.replace(index, used, sectiontext.left(used));
}
break; }
@ -770,7 +769,6 @@ int QDateTimeParser::parseSection(const QDateTime &currentValue, int sectionInde
if (num != -1) {
state = (used == sectiontext.size() ? Acceptable : Intermediate);
QString str = text;
text.replace(index, used, sectiontext.left(used));
} else {
state = Intermediate;