diff options
-rw-r--r-- | core/libdivecomputer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c index cfe6a8049..a949e582e 100644 --- a/core/libdivecomputer.c +++ b/core/libdivecomputer.c @@ -457,6 +457,9 @@ static uint32_t calculate_string_hash(const char *str) */ static void dc_match_serial(void *_dc, const char *model, uint32_t deviceid, const char *nickname, const char *serial, const char *firmware) { + (void)nickname; + (void)firmware; + struct divecomputer *dc = _dc; if (!deviceid) |