summaryrefslogtreecommitdiffstats
path: root/printing_templates
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-27 16:08:50 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-28 05:44:33 -0700
commit130534aedfb7c9b48cceae5aca5a7c82f2444571 (patch)
tree3af3c9dd7bc1d09a378cf940ea377f23ad435b9e /printing_templates
parent1951371bbb1210b04a4133624734461286e4e44a (diff)
downloadsubsurface-130534aedfb7c9b48cceae5aca5a7c82f2444571.tar.gz
Cleanup: better handling of NULL dive in setCurrentDiveSite
We test for d being NULL so that's clearly an option we worried about, yet we already called get_dive_site_for_dive(d) which dereferences d. Found by Coverity. Fixes CID 350118 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'printing_templates')
0 files changed, 0 insertions, 0 deletions