Commit bc92ff42 authored by Laurent Montel's avatar Laurent Montel 😁

GIT_SILENT: pedantic

parent cdd32b74
Pipeline #41704 skipped
......@@ -246,7 +246,7 @@ bool EwsPoxAutodiscoverRequest::readProtocol(QXmlStreamReader &reader)
void EwsPoxAutodiscoverRequest::requestRedirect(KIO::Job *job, const QUrl &url)
{
Q_UNUSED(job);
Q_UNUSED(job)
qCDebugNC(EWSCLI_REQUEST_LOG) << QStringLiteral("Got HTTP redirect to: ") << mUrl;
......
......@@ -336,7 +336,7 @@ void DummyResourceState::changeProcessed()
void DummyResourceState::searchFinished(const QVector<qint64> &result, bool isRid)
{
Q_UNUSED(isRid);
Q_UNUSED(isRid)
recordCall("searchFinished", QVariant::fromValue(result));
}
......@@ -372,7 +372,7 @@ void DummyResourceState::emitWarning(const QString &message)
void DummyResourceState::emitPercent(int percent)
{
Q_UNUSED(percent);
Q_UNUSED(percent)
// FIXME: Many tests need to be updated for this to be uncommented out.
// recordCall( "emitPercent", QVariant::fromValue(percent) );
}
......
......@@ -229,7 +229,7 @@ void ImapResourceBase::startConnect(const QVariant &)
const bool result = m_pool->connect(account);
Q_ASSERT(result);
Q_UNUSED(result);
Q_UNUSED(result)
}
int ImapResourceBase::configureSubscription(qlonglong windowId)
......
......@@ -40,73 +40,73 @@ public:
public: // Job::Visitor interface implementation
bool visit(FileStore::Job *job) override
{
Q_UNUSED(job);
Q_UNUSED(job)
return false;
}
bool visit(FileStore::CollectionCreateJob *job) override
{
Q_UNUSED(job);
Q_UNUSED(job)
return false;
}
bool visit(FileStore::CollectionDeleteJob *job) override
{
Q_UNUSED(job);
Q_UNUSED(job)
return false;
}
bool visit(FileStore::CollectionFetchJob *job) override
{
Q_UNUSED(job);
Q_UNUSED(job)
return false;
}
bool visit(FileStore::CollectionModifyJob *job) override
{
Q_UNUSED(job);
Q_UNUSED(job)
return false;
}
bool visit(FileStore::CollectionMoveJob *job) override
{
Q_UNUSED(job);
Q_UNUSED(job)
return false;
}
bool visit(FileStore::ItemCreateJob *job) override
{
Q_UNUSED(job);
Q_UNUSED(job)
return false;
}
bool visit(FileStore::ItemDeleteJob *job) override
{
Q_UNUSED(job);
Q_UNUSED(job)
return false;
}
bool visit(FileStore::ItemFetchJob *job) override
{
Q_UNUSED(job);
Q_UNUSED(job)
return false;
}
bool visit(FileStore::ItemModifyJob *job) override
{
Q_UNUSED(job);
Q_UNUSED(job)
return false;
}
bool visit(FileStore::ItemMoveJob *job) override
{
Q_UNUSED(job);
Q_UNUSED(job)
return false;
}
bool visit(FileStore::StoreCompactJob *job) override
{
Q_UNUSED(job);
Q_UNUSED(job)
return false;
}
......@@ -822,79 +822,79 @@ void FileStore::AbstractLocalStore::setTopLevelCollection(const Collection &coll
void FileStore::AbstractLocalStore::checkCollectionCreate(FileStore::CollectionCreateJob *job, int &errorCode, QString &errorText) const
{
Q_UNUSED(job);
Q_UNUSED(errorCode);
Q_UNUSED(errorText);
Q_UNUSED(job)
Q_UNUSED(errorCode)
Q_UNUSED(errorText)
}
void FileStore::AbstractLocalStore::checkCollectionDelete(FileStore::CollectionDeleteJob *job, int &errorCode, QString &errorText) const
{
Q_UNUSED(job);
Q_UNUSED(errorCode);
Q_UNUSED(errorText);
Q_UNUSED(job)
Q_UNUSED(errorCode)
Q_UNUSED(errorText)
}
void FileStore::AbstractLocalStore::checkCollectionFetch(FileStore::CollectionFetchJob *job, int &errorCode, QString &errorText) const
{
Q_UNUSED(job);
Q_UNUSED(errorCode);
Q_UNUSED(errorText);
Q_UNUSED(job)
Q_UNUSED(errorCode)
Q_UNUSED(errorText)
}
void FileStore::AbstractLocalStore::checkCollectionModify(FileStore::CollectionModifyJob *job, int &errorCode, QString &errorText) const
{
Q_UNUSED(job);
Q_UNUSED(errorCode);
Q_UNUSED(errorText);
Q_UNUSED(job)
Q_UNUSED(errorCode)
Q_UNUSED(errorText)
}
void FileStore::AbstractLocalStore::checkCollectionMove(FileStore::CollectionMoveJob *job, int &errorCode, QString &errorText) const
{
Q_UNUSED(job);
Q_UNUSED(errorCode);
Q_UNUSED(errorText);
Q_UNUSED(job)
Q_UNUSED(errorCode)
Q_UNUSED(errorText)
}
void FileStore::AbstractLocalStore::checkItemCreate(FileStore::ItemCreateJob *job, int &errorCode, QString &errorText) const
{
Q_UNUSED(job);
Q_UNUSED(errorCode);
Q_UNUSED(errorText);
Q_UNUSED(job)
Q_UNUSED(errorCode)
Q_UNUSED(errorText)
}
void FileStore::AbstractLocalStore::checkItemDelete(FileStore::ItemDeleteJob *job, int &errorCode, QString &errorText) const
{
Q_UNUSED(job);
Q_UNUSED(errorCode);
Q_UNUSED(errorText);
Q_UNUSED(job)
Q_UNUSED(errorCode)
Q_UNUSED(errorText)
}
void FileStore::AbstractLocalStore::checkItemFetch(FileStore::ItemFetchJob *job, int &errorCode, QString &errorText) const
{
Q_UNUSED(job);
Q_UNUSED(errorCode);
Q_UNUSED(errorText);
Q_UNUSED(job)
Q_UNUSED(errorCode)
Q_UNUSED(errorText)
}
void FileStore::AbstractLocalStore::checkItemModify(FileStore::ItemModifyJob *job, int &errorCode, QString &errorText) const
{
Q_UNUSED(job);
Q_UNUSED(errorCode);
Q_UNUSED(errorText);
Q_UNUSED(job)
Q_UNUSED(errorCode)
Q_UNUSED(errorText)
}
void FileStore::AbstractLocalStore::checkItemMove(FileStore::ItemMoveJob *job, int &errorCode, QString &errorText) const
{
Q_UNUSED(job);
Q_UNUSED(errorCode);
Q_UNUSED(errorText);
Q_UNUSED(job)
Q_UNUSED(errorCode)
Q_UNUSED(errorText)
}
void FileStore::AbstractLocalStore::checkStoreCompact(FileStore::StoreCompactJob *job, int &errorCode, QString &errorText) const
{
Q_UNUSED(job);
Q_UNUSED(errorCode);
Q_UNUSED(errorText);
Q_UNUSED(job)
Q_UNUSED(errorCode)
Q_UNUSED(errorText)
}
#include "moc_abstractlocalstore.cpp"
......@@ -97,7 +97,7 @@ void TomboyNotesResource::retrieveItems(const Akonadi::Collection &collection)
bool TomboyNotesResource::retrieveItem(const Akonadi::Item &item, const QSet<QByteArray> &parts)
{
Q_UNUSED(parts);
Q_UNUSED(parts)
if (configurationNotValid()) {
cancelTask(i18n("Resource configuration is not valid"));
......@@ -195,7 +195,7 @@ void TomboyNotesResource::onItemsRetrieved(KJob *kjob)
void TomboyNotesResource::onSslError(QNetworkReply *reply, const QList<QSslError> &errors)
{
Q_UNUSED(errors);
Q_UNUSED(errors)
if (Settings::ignoreSslErrors()) {
reply->ignoreSslErrors();
}
......@@ -224,7 +224,7 @@ void TomboyNotesResource::slotReloadConfig()
void TomboyNotesResource::itemAdded(const Akonadi::Item &item, const Akonadi::Collection &collection)
{
Q_UNUSED(collection);
Q_UNUSED(collection)
if (Settings::readOnly() || configurationNotValid()) {
cancelTask(i18n("Resource is read-only"));
return;
......@@ -245,7 +245,7 @@ void TomboyNotesResource::itemAdded(const Akonadi::Item &item, const Akonadi::Co
void TomboyNotesResource::itemChanged(const Akonadi::Item &item, const QSet<QByteArray> &parts)
{
Q_UNUSED(parts);
Q_UNUSED(parts)
if (Settings::readOnly() || configurationNotValid()) {
cancelTask(i18n("Resource is read-only"));
return;
......
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