diff options
author | Andre Hartmann <aha_1980@gmx.de> | 2018-10-12 19:36:26 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2018-10-13 16:34:22 +0000 |
commit | 81a4c1d934f649a892c5f1a56a85c1441ee0c7ee (patch) | |
tree | 175756e5e5e50269969d453d1506affad4c4ea95 /src/plugins/cpptools/cppsourceprocessor.cpp | |
parent | 17fa69eb4268efd63aeeb40bd11da959192f3d1c (diff) | |
download | qt-creator-81a4c1d934f649a892c5f1a56a85c1441ee0c7ee.tar.gz |
Git: Simplify conditions in BranchView
index.isValid() is already checked in line 165,
so it does not need to be checked afterwards
because it is always true there.
isLeaf is only used once, so join the assignment.
Change-Id: I5f21486fd440b82d8e99be1248adf023da664c1e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/cpptools/cppsourceprocessor.cpp')
0 files changed, 0 insertions, 0 deletions