summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2018-09-12 13:36:12 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-12 14:14:14 -0700
commitecbfea35680fe9f00ccacb89675b2109470b5125 (patch)
treeae2e578c78136898ceb834b3d8b6a4164f422f8b /core
parent8c848021b3fa287c06ef43e9f0f49dcce48458aa (diff)
downloadsubsurface-ecbfea35680fe9f00ccacb89675b2109470b5125.tar.gz
DLF import: Remove old debug print
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to 'core')
-rw-r--r--core/parse-xml.c3
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;