summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/dive.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/dive.c b/core/dive.c
index 7e0a8a66d..8bc66a655 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -3014,7 +3014,6 @@ struct dive *make_first_dc(const struct dive *d, int dc_number)
/* make a new unique id, since we still can't handle two equal ids */
res->id = dive_getUniqID();
- invalidate_dive_cache(res);
if (dc_number == 0)
return res;