mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
1ac90199e5
commit
9788d73d48
1 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue