summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-24 14:43:32 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-25 13:58:03 -0700
commite30ba8a8e0f1c182ae3ce7022667b7aca17d3df4 (patch)
treeb9fde8518e27bcf93aef67da364246a3bbfcf2b8 /core
parent272b7b3e278b291e2df0f7bf290856f1daa950bc (diff)
downloadsubsurface-e30ba8a8e0f1c182ae3ce7022667b7aca17d3df4.tar.gz
cleanup: fix over-eager Coverity warnings
Technically get_dive(i) could return a nullptr. But given the range for i that can never happen. Still, the test is extremely cheap and doesn't hurt. Fixes CID 354768 Fixes CID 354766 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions