We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 652971e + cfad288 commit 271efddCopy full SHA for 271efdd
1 file changed
src/gui/editlocallyjob.cpp
@@ -514,7 +514,8 @@ void EditLocallyJob::disconnectFolderSignals()
514
void EditLocallyJob::fileAlreadyLocked()
515
{
516
SyncJournalFileRecord rec;
517
- Q_ASSERT(_folderForFile->journalDb()->getFileRecord(_relativePathToRemoteRoot, &rec));
+ const auto recordFetched = _folderForFile->journalDb()->getFileRecord(_relativePathToRemoteRoot, &rec);
518
+ Q_ASSERT(recordFetched);
519
Q_ASSERT(rec.isValid());
520
Q_ASSERT(rec._lockstate._locked);
521
0 commit comments