summaryrefslogtreecommitdiffstats
path: root/dives/test23.xml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-03 10:30:48 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-03 10:30:48 -0700
commit1f252fedd1c53bb347ff79740f6dcad32691f0cd (patch)
tree31c4dc85494bce0a15b9d2df20258548ff3c77a9 /dives/test23.xml
parent8b021de8d9838f4591b50cb15fc8774c31f8ed14 (diff)
downloadsubsurface-1f252fedd1c53bb347ff79740f6dcad32691f0cd.tar.gz
Fix crash when removing the first dive of a trip
The update_trip_timestamp function can indeed get called with no children present, just before that trip is then removed. So instead of adding complicated special cases, this just bails out of the function. Reported-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/test23.xml')
0 files changed, 0 insertions, 0 deletions