diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/parse-xml.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c index 7646ea2fa..3f2f3ea59 100644 --- a/core/parse-xml.c +++ b/core/parse-xml.c @@ -2095,9 +2095,6 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size, struct dive_table *tabl cur_latitude.udeg = (int)((ptr[7] << 24) + (ptr[6] << 16) + (ptr[5] << 8) + (ptr[4] << 0)); cur_longitude.udeg = (int)((ptr[11] << 24) + (ptr[10] << 16) + (ptr[9] << 8) + (ptr[8] << 0)); cur_dive->dive_site_uuid = create_dive_site_with_gps("DLF imported", cur_latitude, cur_longitude, cur_dive->when); - const char * coords = printGPSCoords(cur_latitude.udeg, cur_longitude.udeg); - printf("gps: %s\n", coords); - free((void *)coords); break; default: break; |