diff options
author | Wynn Wolf Arbor | 2020-06-04 17:16:46 +0200 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-06-04 17:16:46 +0200 |
commit | 777add8b775e36d8ebbe057ad84e8b691c7e86c7 (patch) | |
tree | 1420f215d4d5f80b01555f20f294252d075b1233 /lifeboat.1 | |
parent | e58da98d30ba8b739bd4f3d05589899673426ca8 (diff) | |
download | lifeboat-777add8b775e36d8ebbe057ad84e8b691c7e86c7.tar.gz |
Simplify and improve sync_default
sync_default() suffers from needlessly complicated logic in its
threshold test. Join the two if clauses together and skip targets
cleanly by using `continue` instead.
Where possible, use OR lists instead of if clauses and also inline the
whole sync_single() function, which was only called from here.
Diffstat (limited to 'lifeboat.1')
0 files changed, 0 insertions, 0 deletions