aboutsummaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-07-04 08:50:59 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-04 06:28:21 -0700
commit9c6513b11dd61b723efd873384b53196b5d9d866 (patch)
treeca2b31c91ef672b9d47fe68dfb483a85b356a884 /dive.c
parent5f76185d376624b3713e35ae26284163c0a0cbbf (diff)
downloadsubsurface-9c6513b11dd61b723efd873384b53196b5d9d866.tar.gz
Clear out old events in create_dive_from_plan
Previous code where accumulating events from each iteration of the planning. This code clears the old ones before adding new ones. Fixes #595 [Dirk Hohndel: removed printf, updated comment, slightly moved the code, added parenthesis to silence warning] Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.c')
0 files changed, 0 insertions, 0 deletions