Commit c5e56a42 authored by Kevin Funk's avatar Kevin Funk

parsedatetimetest: Fix -Wunused-result warning

parent 6bc93af8
......@@ -73,8 +73,8 @@ void ParseDateTimeTest::testParseDateTime()
const char *scursor = input.constData();
const char *send = input.constData() + input.length();
KMime::HeaderParsing::parseDateTime(scursor, send, result, false);
const bool success = KMime::HeaderParsing::parseDateTime(scursor, send, result, false);
QCOMPARE(success, !result.isNull());
QCOMPARE(result, expResult);
}
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