Removes unreferenced variable
This commit is contained in:
parent
81f56ebf5b
commit
f1402b1874
|
@ -679,7 +679,6 @@ void QxtRfc2822Parser::parseBody(QxtMailMessagePrivate* msg)
|
||||||
{
|
{
|
||||||
qDebug("regexp %s not valid ! %s", bndRe.pattern().toLatin1().data(), bndRe.errorString().toLatin1().data());
|
qDebug("regexp %s not valid ! %s", bndRe.pattern().toLatin1().data(), bndRe.errorString().toLatin1().data());
|
||||||
}
|
}
|
||||||
bool last = false;
|
|
||||||
// keep track of the position of two consecutive boundary delimiters:
|
// keep track of the position of two consecutive boundary delimiters:
|
||||||
// begin* is the position of the delimiter first character,
|
// begin* is the position of the delimiter first character,
|
||||||
// end* is the position of the first character of the part following it.
|
// end* is the position of the first character of the part following it.
|
||||||
|
@ -691,13 +690,7 @@ void QxtRfc2822Parser::parseBody(QxtMailMessagePrivate* msg)
|
||||||
{
|
{
|
||||||
beginSecond = bndRe.pos() + bndRe.cap(1).length(); // add length of preceding line break, if any
|
beginSecond = bndRe.pos() + bndRe.cap(1).length(); // add length of preceding line break, if any
|
||||||
endSecond = bndRe.pos() + bndRe.matchedLength();
|
endSecond = bndRe.pos() + bndRe.matchedLength();
|
||||||
#if QT_VERSION >= 0x040600
|
|
||||||
if (bndRe.captureCount() == 2 && bndRe.cap(2) == "--") last = true;
|
|
||||||
#else
|
|
||||||
if (bndRe.numCaptures() == 2 && bndRe.cap(2) == "--") last = true;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// qDebug("found%s boundary delimiter at position %d.", last?" last":"", beginSecond);
|
|
||||||
// qDebug("%d captures", bndRe.numCaptures());
|
// qDebug("%d captures", bndRe.numCaptures());
|
||||||
// foreach(QString capture, bndRe.capturedTexts())
|
// foreach(QString capture, bndRe.capturedTexts())
|
||||||
// {
|
// {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user