diff --git a/src/libsync/clientsideencryptionjobs.cpp b/src/libsync/clientsideencryptionjobs.cpp index fd7608d80148a..b6859eca733fa 100644 --- a/src/libsync/clientsideencryptionjobs.cpp +++ b/src/libsync/clientsideencryptionjobs.cpp @@ -88,8 +88,8 @@ StoreMetaDataApiJob::StoreMetaDataApiJob(const AccountPtr& account, QObject* parent) : AbstractNetworkJob(account, e2eeBaseUrl(account) + QStringLiteral("meta-data/") + fileId, parent), _fileId(fileId), -_b64Metadata(b64Metadata), _token(token), +_b64Metadata(b64Metadata), _signature(signature) { } diff --git a/src/libsync/foldermetadata.cpp b/src/libsync/foldermetadata.cpp index 8172ba10d7527..aa1ca3527e582 100644 --- a/src/libsync/foldermetadata.cpp +++ b/src/libsync/foldermetadata.cpp @@ -115,11 +115,6 @@ void FolderMetadata::initMetadata() void FolderMetadata::setupExistingMetadata(const QByteArray &metadata) { - if (!_isRootEncryptedFolder) { - int a = 5; - a = 6; - } - const auto doc = QJsonDocument::fromJson(metadata); qCDebug(lcCseMetadata()) << "Got existing metadata:" << doc.toJson(QJsonDocument::Compact); @@ -682,11 +677,6 @@ QByteArray FolderMetadata::encryptedMetadata() _encryptedMetadataVersion = latestSupportedMetadataVersion(); - if (!_isRootEncryptedFolder) { - int a = 5; - a = 6; - } - return jsonString; }