diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-05-06 22:16:37 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-07 08:46:15 -0700 |
commit | 2ff459c35691f1548cc8a587cd437f5215f8ccc1 (patch) | |
tree | cec0a7329a64fed1aec3c3fb35a5245087420adf /desktop-widgets | |
parent | 6790e07a4cf03b02ea2163dd4a55ff5bcf04f834 (diff) | |
download | subsurface-2ff459c35691f1548cc8a587cd437f5215f8ccc1.tar.gz |
cleanup: return directly in ExtraDataModel::data()
Instead of assigning to a ret variable and returning at the
end of the function, return directly from the various switch
branches. This is more idiomatic and consistent with the other
models.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
0 files changed, 0 insertions, 0 deletions