diff options
author | jan Iversen <jan@casacondor.com> | 2019-12-09 08:28:09 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-11 12:36:43 -0500 |
commit | 49e633039911db835beb29a77bbc890117db9845 (patch) | |
tree | 3a4ea042974812210e6b4911c44e3b481540eda5 /dives | |
parent | 738d3057da3241d0d796812b3822270651a12691 (diff) | |
download | subsurface-49e633039911db835beb29a77bbc890117db9845.tar.gz |
core: make shared prepareDives identical to desktop prepare_dives_for_divelogs
In order to replace DivelogsDeWebServices::prepare_dives_for_divelogs with
uploadDiveLogsDE::prepareDives, first step is to make the functions identical.
amount_selected is not maintained for mobile, add #ifdef SUBSURFACE_MOBILE
Add comment, to make code more readable
add white line to make code more readable
change to use variable ds (created a couple of lines earlier
Avoid "goto" by adding close code
Remove label and close code (it was only called in 1 place)
Signed-off-by: Jan Iversen <jan@casacondor.com>
Diffstat (limited to 'dives')
0 files changed, 0 insertions, 0 deletions