summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/divelist.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/divelist.c b/core/divelist.c
index f691cd7f1..79b116e06 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -1503,7 +1503,6 @@ static bool try_to_merge_into(struct dive *dive_to_add, int idx, struct dive_tab
if (!replace_in && old_dive->divetrip)
replace_in = &old_dive->divetrip->dives;
- merged->id = old_dive->id;
merged->selected = old_dive->selected;
merged->divetrip = old_dive->divetrip;
old_dive->divetrip = NULL;