[EPubGenerator] Reduce nesting level in loop
ClosedPublic

Authored by bruns on May 1 2019, 10:53 PM.

Details

Summary

The loop body is skipped when epub_it_get_curr(it) is invalid.
Make it more obvious there is no more code executed in this case.

Test Plan

no functional changes

Diff Detail

Repository
R223 Okular
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.May 1 2019, 10:53 PM
Restricted Application added a project: Okular. · View Herald TranscriptMay 1 2019, 10:53 PM
Restricted Application added a subscriber: okular-devel. · View Herald Transcript
bruns requested review of this revision.May 1 2019, 10:53 PM
ngraham accepted this revision.May 2 2019, 6:13 PM
This revision is now accepted and ready to land.May 2 2019, 6:13 PM
This revision was automatically updated to reflect the committed changes.