summaryrefslogtreecommitdiffstats
path: root/core/import-csv.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-02 19:23:32 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-04 07:37:28 +0200
commit9788d73d48939031806b5e58dec497dae354d0cf (patch)
treee4fd37073c747d3a38f7ed811617618b709c79b8 /core/import-csv.c
parent1ac90199e52c0db2a6a49790c68c3aeb319b1b2b (diff)
downloadsubsurface-9788d73d48939031806b5e58dec497dae354d0cf.tar.gz
Import: remove unnecessary processing of dives in DAN import
On DAN-file import after each dive except the first, the dive-list was processed. This seem bogus and inefficient. An artefact from old code? In any case, remove. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/import-csv.c')
-rw-r--r--core/import-csv.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/import-csv.c b/core/import-csv.c
index 15255e191..c196d9283 100644
--- a/core/import-csv.c
+++ b/core/import-csv.c
@@ -129,14 +129,6 @@ static int parse_dan_format(const char *filename, char **params, int pnr, struct
char *iter_end = NULL;
unsigned int pnr_local = pnr;
- /*
- * Process the dives, but let the last round be parsed
- * from C++ code
- */
-
- if (end_ptr)
- process_imported_dives(false);
-
mem_csv.buffer = malloc(mem.size + 1);
mem_csv.size = mem.size;