mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:03:23 +00:00
Remove the two annoying debug statements
These should have been removed ages ago... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1b3c776358
commit
d6499cc32a
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue