summaryrefslogtreecommitdiffstats
path: root/profile.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-12-11 15:26:47 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-11 16:29:02 +0100
commitf09afad5a0515e2e40a91385d115840bc321697a (patch)
tree64ab3ba71a8320c0c59368764ca50ac468c94e64 /profile.h
parentea895fbecc4b7aea0eacc9cb7ce3acece926343c (diff)
downloadsubsurface-f09afad5a0515e2e40a91385d115840bc321697a.tar.gz
divelist.c: Fix possible NULL pointer deref.
calculate_cns(): The check if prev_dive is NULL should be before calling prev_dive->when. Reported by the program cppcheck. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.h')
0 files changed, 0 insertions, 0 deletions