summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdivecomputer.c')
-rw-r--r--libdivecomputer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libdivecomputer.c b/libdivecomputer.c
index 9004aa87f..18cb76bea 100644
--- a/libdivecomputer.c
+++ b/libdivecomputer.c
@@ -438,10 +438,6 @@ static int dive_cb(const unsigned char *data, unsigned int size,
}
dive->dc.model = strdup(devdata->model);
dive->dc.deviceid = devdata->deviceid;
- /* for now copy the "made up" strings converted from the 32bit numbers that libdivecomputer gives us;
- * if the dive computer backend supports the DC_FIELD_STRING interface this will later be overwritten by the correct strings */
- dive->dc.serial = copy_string(devdata->serial);
- dive->dc.fw_version = copy_string(devdata->firmware);
dive->dc.diveid = calculate_diveid(fingerprint, fsize);
tm.tm_year = dt.year;