summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-19 21:13:03 +1200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-19 21:13:03 +1200
commitd6499cc32a0a7486aee3156bfa98542bc33618c1 (patch)
treea18e27f1f500b4fb64240c45455ca66ceaaedb4b /libdivecomputer.c
parent1b3c7763581b23420c437cb28483217f788cbf37 (diff)
downloadsubsurface-d6499cc32a0a7486aee3156bfa98542bc33618c1.tar.gz
Remove the two annoying debug statements
These should have been removed ages ago... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.c')
-rw-r--r--libdivecomputer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdivecomputer.c b/libdivecomputer.c
index a78f53c27..41ec876a7 100644
--- a/libdivecomputer.c
+++ b/libdivecomputer.c
@@ -383,7 +383,6 @@ static void parse_string_field(struct dive *dive, dc_field_string_t *str)
}
add_extra_data(&dive->dc, str->desc, str->value);
if (!strcmp(str->desc, "Serial")) {
- fprintf(stderr, "string field \"Serial\": %s -- overwriting the existing serial of %s\n", str->value, dive->dc.serial);
dive->dc.serial = strdup(str->value);
/* should we just overwrite this whenever we have the "Serial" field?
* It's a much better deviceid then what we have so far... for now I'm leaving it as is */
@@ -392,7 +391,6 @@ static void parse_string_field(struct dive *dive, dc_field_string_t *str)
return;
}
if (!strcmp(str->desc, "FW Version")) {
- fprintf(stderr, "string field \"FW Version\": %s -- overwriting the existing firware of %s\n", str->value, dive->dc.fw_version);
dive->dc.fw_version = strdup(str->value);
return;
}