Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Aug 31, 2023
1 parent 3ec39fe commit 728a50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/itemencrypted/itemencrypted.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ ItemSaverPtr ItemEncryptedLoader::loadItems(const QString &, QAbstractItemModel

quint64 length;
stream2 >> length;
if ( length < 0 || stream2.status() != QDataStream::Ok ) {
if ( stream2.status() != QDataStream::Ok ) {
emitDecryptFailed();
COPYQ_LOG("ItemEncrypt ERROR: Failed to parse item count!");
return nullptr;
Expand Down

0 comments on commit 728a50d

Please sign in to comment.