Commit 76b60d75 authored by Allen Winter's avatar Allen Winter

-Wunused

parent 011bb865
......@@ -28,7 +28,7 @@ public:
{
}
FilterAction::ReturnCode process(MailCommon::ItemContext &context, bool) const
FilterAction::ReturnCode process(MailCommon::ItemContext &, bool) const
{
return GoOn;
}
......
......@@ -29,7 +29,7 @@ public:
{
}
FilterAction::ReturnCode process(MailCommon::ItemContext &context, bool) const
FilterAction::ReturnCode process(MailCommon::ItemContext &, bool) const
{
return GoOn;
}
......
......@@ -103,6 +103,7 @@ MailFilter *FilterImporterClawsMails::parseLine(const QString &line)
QString FilterImporterClawsMails::extractActions(const QString &line, MailFilter *filter)
{
Q_UNUSED(filter);
return line;
}
......@@ -148,4 +149,3 @@ QString FilterImporterClawsMails::extractString(const QString &tmp, int &pos)
qCDebug(MAILCOMMON_LOG) << " name " << name;
return name;
}
......@@ -132,7 +132,8 @@ SearchRule::Function HeadersRuleWidgetHandler::function(const QByteArray &field,
QString HeadersRuleWidgetHandler::currentValue(const QStackedWidget *valueStack,
SearchRule::Function func) const
{
//in other cases of func it is a lineedit
Q_UNUSED(func);
const KLineEdit *lineEdit = valueStack->findChild<KLineEdit *>(QStringLiteral("regExpLineEdit"));
if (lineEdit) {
......@@ -299,4 +300,3 @@ bool HeadersRuleWidgetHandler::update(const QByteArray &field,
}
return true;
}
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