Commit fe5734ad authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: remove extra ;

parent 62dfda07
Pipeline #45514 passed with stage
in 19 minutes and 22 seconds
......@@ -50,7 +50,7 @@ public:
private Q_SLOTS:
void slotActivateRequested(const QStringList &args, const QString &workingDirectory)
{
Q_UNUSED(workingDirectory);
Q_UNUSED(workingDirectory)
qDebug() << "Application executed with args" << args;
++m_callCount;
......
......@@ -144,17 +144,17 @@ CertifyCertificateCommand::~CertifyCertificateCommand()
void CertifyCertificateCommand::setCertificationExportable(bool on)
{
Q_UNUSED(on);
Q_UNUSED(on)
}
void CertifyCertificateCommand::setCertificationRevocable(bool on)
{
Q_UNUSED(on);
Q_UNUSED(on)
}
void CertifyCertificateCommand::setCertifyingKey(const Key &signer)
{
Q_UNUSED(signer);
Q_UNUSED(signer)
}
void CertifyCertificateCommand::setUserIDs(const std::vector<UserID> &uids)
......
......@@ -371,7 +371,7 @@ QString GnuPGProcessCommand::successCaption() const
QString GnuPGProcessCommand::successMessage(const QStringList &args) const
{
Q_UNUSED(args);
Q_UNUSED(args)
return QString();
}
......
......@@ -323,7 +323,7 @@ void LookupCertificatesCommand::Private::slotImportRequested(const std::vector<K
void LookupCertificatesCommand::Private::slotSaveAsRequested(const std::vector<Key> &keys)
{
Q_UNUSED(keys);
Q_UNUSED(keys)
qCDebug(KLEOPATRA_LOG) << "not implemented";
}
......
......@@ -503,7 +503,7 @@ void AutoDecryptVerifyFilesController::cancel()
void AutoDecryptVerifyFilesController::doTaskDone(const Task *task, const std::shared_ptr<const Task::Result> &result)
{
Q_ASSERT(task);
Q_UNUSED(task);
Q_UNUSED(task)
// We could just delete the tasks here, but we can't use
// Qt::QueuedConnection here (we need sender()) and other slots
......
......@@ -517,7 +517,7 @@ static std::vector<Dir> find_dirs_by_input_files(const QStringList &files, const
const std::function<void(int)> &progress,
const std::vector< std::shared_ptr<ChecksumDefinition> > &checksumDefinitions)
{
Q_UNUSED(allowAddition);
Q_UNUSED(allowAddition)
if (!checksumDefinition) {
return std::vector<Dir>();
}
......
......@@ -175,7 +175,7 @@ void DecryptVerifyFilesController::Private::slotWizardCanceled()
void DecryptVerifyFilesController::doTaskDone(const Task *task, const std::shared_ptr<const Task::Result> &result)
{
Q_ASSERT(task);
Q_UNUSED(task);
Q_UNUSED(task)
// We could just delete the tasks here, but we can't use
// Qt::QueuedConnection here (we need sender()) and other slots
......
......@@ -240,7 +240,7 @@ std::shared_ptr<EncryptEMailTask> EncryptEMailController::Private::takeRunnable(
void EncryptEMailController::doTaskDone(const Task *task, const std::shared_ptr<const Task::Result> &result)
{
Q_UNUSED(result);
Q_UNUSED(result)
Q_ASSERT(task);
// We could just delete the tasks here, but we can't use
......
......@@ -164,7 +164,7 @@ QLabel *DecryptVerifyFilesDialog::labelForTag(const QString &tag)
void DecryptVerifyFilesDialog::progress(const QString &msg, int progress, int total)
{
Q_UNUSED(msg);
Q_UNUSED(msg)
Q_ASSERT(progress >= 0);
Q_ASSERT(total >= 0);
m_progressBar->setRange(0, total);
......
......@@ -75,7 +75,7 @@ NewResultPage::Private::Private(NewResultPage *qq) : q(qq), m_lastErrorItemIndex
void NewResultPage::Private::progress(const QString &msg, int progress, int total)
{
Q_UNUSED(msg);
Q_UNUSED(msg)
Q_ASSERT(progress >= 0);
Q_ASSERT(total >= 0);
m_progressBar->setRange(0, total);
......
......@@ -71,7 +71,7 @@ ResultPage::Private::Private(ResultPage *qq) : q(qq)
void ResultPage::Private::progress(const QString &msg, int progress, int total)
{
Q_UNUSED(msg);
Q_UNUSED(msg)
Q_ASSERT(progress >= 0);
Q_ASSERT(total >= 0);
m_progressBar->setRange(0, total);
......@@ -155,7 +155,7 @@ void ResultPage::setTaskCollection(const std::shared_ptr<TaskCollection> &coll)
Q_FOREACH (const std::shared_ptr<Task> &i, d->m_tasks->tasks()) { // create labels for all tags in collection
Q_ASSERT(i && d->labelForTag(i->tag()));
Q_UNUSED(i);
Q_UNUSED(i)
}
Q_EMIT completeChanged();
}
......
......@@ -45,7 +45,7 @@ static bool operator==(const Mailbox &lhs, const Mailbox &rhs)
static bool determine_ambiguous(const Mailbox &mb, const std::vector<Key> &keys)
{
Q_UNUSED(mb);
Q_UNUSED(mb)
// ### really do check when we don't only show matching keys
return keys.size() != 1;
}
......
......@@ -47,7 +47,7 @@ static bool operator==(const Mailbox &lhs, const Mailbox &rhs)
static bool determine_ambiguous(const Mailbox &mb, const std::vector<Key> &keys)
{
Q_UNUSED(mb);
Q_UNUSED(mb)
// ### really do check when we don't only show matching keys
return keys.size() != 1;
}
......
......@@ -267,7 +267,7 @@ std::shared_ptr<SignEMailTask> SignEMailController::Private::takeRunnable(GpgME:
// ### extract to base
void SignEMailController::doTaskDone(const Task *task, const std::shared_ptr<const Task::Result> &result)
{
Q_UNUSED(result);
Q_UNUSED(result)
Q_ASSERT(task);
// We could just delete the tasks here, but we can't use
......
......@@ -229,7 +229,7 @@ void CertificateDetailsWidget::Private::setupCommonProperties()
void CertificateDetailsWidget::Private::revokeUID(const GpgME::UserID &uid)
{
Q_UNUSED(uid);
Q_UNUSED(uid)
qCWarning(KLEOPATRA_LOG) << "Revoking UserID is not implemented. How did you even get here?!?!";
}
......
......@@ -123,7 +123,7 @@ private:
QPushButton *const ok = buttonBox.addButton(QDialogButtonBox::Ok);
ok->setEnabled(false);
QPushButton *const cancel = buttonBox.addButton(QDialogButtonBox::Close);
Q_UNUSED(cancel);
Q_UNUSED(cancel)
QPushButton *const reload = buttonBox.addButton(i18n("Reload"), QDialogButtonBox::ActionRole);
QPushButton *const import = buttonBox.addButton(i18n("Import..."), QDialogButtonBox::ActionRole);
QPushButton *const lookup = buttonBox.addButton(i18n("Lookup..."), QDialogButtonBox::ActionRole);
......@@ -357,7 +357,7 @@ void CertificateSelectionDialog::Private::slotDoubleClicked(const QModelIndex &i
Q_ASSERT(view);
const auto *const model = ui.tabWidget.currentModel();
Q_ASSERT(model);
Q_UNUSED(model);
Q_UNUSED(model)
QItemSelectionModel *const sm = view->selectionModel();
Q_ASSERT(sm);
sm->select(idx, QItemSelectionModel::ClearAndSelect | QItemSelectionModel::Rows);
......
......@@ -158,8 +158,8 @@ void UpdateNotification::checkUpdate(QWidget *parent, bool force)
}
}
#else
Q_UNUSED(parent);
Q_UNUSED(force);
Q_UNUSED(parent)
Q_UNUSED(force)
#endif
}
......
......@@ -850,7 +850,7 @@ private:
private Q_SLOTS:
void slotResult(const GpgME::KeyGenerationResult &result, const QByteArray &request, const QString &auditLog)
{
Q_UNUSED(auditLog);
Q_UNUSED(auditLog)
if (result.error().code() || (pgp() && !result.fingerprint())) {
setField(QStringLiteral("error"), result.error().isCanceled()
? i18n("Operation canceled.")
......
......@@ -190,9 +190,9 @@ void DecryptVerifyCommandEMailBase::doCanceled()
void DecryptVerifyCommandEMailBase::Private::slotProgress(const QString &what, int current, int total)
{
Q_UNUSED(what);
Q_UNUSED(current);
Q_UNUSED(total);
Q_UNUSED(what)
Q_UNUSED(current)
Q_UNUSED(total)
// ### FIXME report progress, via sendStatus()
}
......
......@@ -171,9 +171,9 @@ void DecryptVerifyCommandFilesBase::doCanceled()
void DecryptVerifyCommandFilesBase::Private::slotProgress(const QString &what, int current, int total)
{
Q_UNUSED(what);
Q_UNUSED(current);
Q_UNUSED(total);
Q_UNUSED(what)
Q_UNUSED(current)
Q_UNUSED(total)
// ### FIXME report progress, via sendStatus()
}
......
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