diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2012-10-27 09:11:36 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-29 22:21:32 +0100 |
commit | 3a333f2d92a44feba017c7951049e89adbbda686 (patch) | |
tree | 3fd95defbdcd81ac38a4a408700affa4c3196f3c /tests/benchmarks | |
parent | f05a392f3ea70d2d446bb3a0bc826ef6d60f1c3b (diff) |
QSyntaxHighlighter: minor code de-duplication
The (r.start != -1) case is equal to (i == formatChanges.count()) case
in the loop; no need to exit the loop just to do exactly what it did.
Change-Id: I4129d8012399895c2fce70b26716ca5aeadee79c
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'tests/benchmarks')
0 files changed, 0 insertions, 0 deletions