From e3a7af8779d17c525bbfc1f97c4d94a4061b7868 Mon Sep 17 00:00:00 2001 From: alex-z Date: Mon, 22 Jan 2024 18:38:20 +0100 Subject: [PATCH] Fix CI errors Signed-off-by: alex-z --- src/libsync/encryptedfoldermetadatahandler.cpp | 2 +- src/libsync/foldermetadata.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libsync/encryptedfoldermetadatahandler.cpp b/src/libsync/encryptedfoldermetadatahandler.cpp index 5177e0fd4938a..86f611650054b 100644 --- a/src/libsync/encryptedfoldermetadatahandler.cpp +++ b/src/libsync/encryptedfoldermetadatahandler.cpp @@ -175,7 +175,7 @@ void EncryptedFolderMetadataHandler::slotMetadataReceived(const QJsonDocument &j const auto rawMetadata = statusCode == 404 ? QByteArray{} : json.toJson(QJsonDocument::Compact); const auto metadata(QSharedPointer::create(_account, rawMetadata, _rootEncryptedFolderInfo, job->signature())); - connect(metadata.data(), &FolderMetadata::setupComplete, this, [this, statusCode, metadata] { + connect(metadata.data(), &FolderMetadata::setupComplete, this, [this, metadata] { if (!metadata->isValid()) { qCDebug(lcFetchAndUploadE2eeFolderMetadataJob) << "Error parsing or decrypting metadata for folder" << _folderPath; emit fetchFinished(-1, tr("Error parsing or decrypting metadata.")); diff --git a/src/libsync/foldermetadata.cpp b/src/libsync/foldermetadata.cpp index aa1ca3527e582..35b1aa19e58ee 100644 --- a/src/libsync/foldermetadata.cpp +++ b/src/libsync/foldermetadata.cpp @@ -38,7 +38,6 @@ constexpr auto initializationVectorKey = "initializationVector"; constexpr auto keyChecksumsKey = "keyChecksums"; constexpr auto metadataJsonKey = "metadata"; constexpr auto metadataKeyKey = "metadataKey"; -constexpr auto metadataKeysKey = "metadataKeys"; constexpr auto nonceKey = "nonce"; constexpr auto usersKey = "users"; constexpr auto usersUserIdKey = "userId";