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

Remove some warning found by cppcheck

parent 1c3f6c57
......@@ -29,7 +29,6 @@ QString translateErrorString(Error error)
ErrorNumber errorNumber = error.errorNumber();
int responseCode = error.responseCode();
QString errorText = error.errorText();
int jobErrorCode = error.jobErrorCode();
QString err = error.translatedJobError();
switch (errorNumber) {
......
......@@ -29,6 +29,7 @@
KolabChangeItemsTagsTask::KolabChangeItemsTagsTask(const ResourceStateInterface::Ptr &resource, const QSharedPointer<TagConverter> &tagConverter, QObject *parent)
: KolabRelationResourceTask(resource, parent)
, mSession(nullptr)
, mTagConverter(tagConverter)
{
}
......
......@@ -310,7 +310,7 @@ void TomboyNotesResource::itemRemoved(const Akonadi::Item &item)
bool TomboyNotesResource::configurationNotValid() const
{
return Settings::requestToken().isEmpty() || Settings::requestToken().isEmpty() || Settings::contentURL().isEmpty();
return Settings::requestToken().isEmpty() || Settings::contentURL().isEmpty();
}
void TomboyNotesResource::retryAfterFailure(const QString &errorMessage)
......
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