Skip to content

Commit

Permalink
Fix CI errors.
Browse files Browse the repository at this point in the history
Signed-off-by: alex-z <blackslayer4@gmail.com>
  • Loading branch information
allexzander committed Jan 19, 2024
1 parent ed9df58 commit 77d778b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion src/libsync/clientsideencryptionjobs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}
Expand Down
10 changes: 0 additions & 10 deletions src/libsync/foldermetadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -682,11 +677,6 @@ QByteArray FolderMetadata::encryptedMetadata()

_encryptedMetadataVersion = latestSupportedMetadataVersion();

if (!_isRootEncryptedFolder) {
int a = 5;
a = 6;
}

return jsonString;
}

Expand Down

0 comments on commit 77d778b

Please sign in to comment.