D20946: [EPubGenerator] Reduce nesting level in loop

Stefan BrĂ¼ns noreply at phabricator.kde.org
Wed May 1 23:53:28 BST 2019


bruns created this revision.
bruns added a reviewer: Okular.
Herald added a project: Okular.
Herald added a subscriber: okular-devel.
bruns requested review of this revision.

REVISION 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

REPOSITORY
  R223 Okular

REVISION DETAIL
  https://phabricator.kde.org/D20946

AFFECTED FILES
  generators/epub/converter.cpp

To: bruns, #okular
Cc: okular-devel, joaonetto, tfella, ngraham, darcyshen, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20190501/df2d5ce2/attachment-0001.html>


More information about the Okular-devel mailing list