[UnindexedFileIndexer] Do not try to add nonexistant file to index
ClosedPublic

Authored by bruns on Jun 4 2019, 2:08 PM.

Details

Summary

A file may be deleted after it has been picked up by the iterator,
causing the fileId to be 0. This is not an error, remove the Q_ASSERT
and silently skip the file.

Diff Detail

Repository
R293 Baloo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Jun 4 2019, 2:08 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptJun 4 2019, 2:08 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Jun 4 2019, 2:08 PM
poboiko accepted this revision.Jun 4 2019, 5:06 PM
This revision is now accepted and ready to land.Jun 4 2019, 5:06 PM
ngraham accepted this revision.Jun 4 2019, 5:31 PM

Buh!

This revision was automatically updated to reflect the committed changes.