diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-09-03 10:30:48 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-09-03 10:30:48 -0700 |
commit | 1f252fedd1c53bb347ff79740f6dcad32691f0cd (patch) | |
tree | 31c4dc85494bce0a15b9d2df20258548ff3c77a9 /dives/test23.xml | |
parent | 8b021de8d9838f4591b50cb15fc8774c31f8ed14 (diff) | |
download | subsurface-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