Commit 43551df1 authored by Laurent Montel's avatar Laurent Montel 😁

Remove unused variables

parent 906b9494
......@@ -263,7 +263,7 @@ void ContentTest::testEncodedContent()
msg->parse();
// Test that multiple calls do not corrupt anything.
QByteArray encc = msg->encodedContent();
//QByteArray encc = msg->encodedContent();
//qDebug() << "original data" << data;
//qDebug() << "encodedContent" << encc;
QCOMPARE(msg->encodedContent(), data);
......@@ -486,7 +486,7 @@ void ContentTest::testMultipartMixed()
QCOMPARE(c->body(), part2);
msg->assemble();
QByteArray encc = msg->encodedContent();
//QByteArray encc = msg->encodedContent();
//qDebug() << "expected assembled content" << assembled;
//qDebug() << "actual encoded content" << encc;
QCOMPARE(msg->encodedContent(), assembled);
......
......@@ -283,7 +283,6 @@ QString decodeRFC2231String(const QByteArray &str, QByteArray &usedCS, const QBy
p++;
}
qDebug() << "Got pre-decoded:" << st;
QString result;
const QTextCodec *charsetcodec = KCharsets::charsets()->codecForName(QString::fromLatin1(charset));
if (!charsetcodec || forceCS) {
charsetcodec = KCharsets::charsets()->codecForName(QString::fromLatin1(defaultCS));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment