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

Authored by bruns on Tue, Jun 4, 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.Tue, Jun 4, 2:08 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptTue, Jun 4, 2:08 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Tue, Jun 4, 2:08 PM
poboiko accepted this revision.Tue, Jun 4, 5:06 PM
This revision is now accepted and ready to land.Tue, Jun 4, 5:06 PM
ngraham accepted this revision.Tue, Jun 4, 5:31 PM

Buh!

This revision was automatically updated to reflect the committed changes.