diff options
-rw-r--r-- | core/device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/device.c b/core/device.c index afd52b8ef..dde758dc8 100644 --- a/core/device.c +++ b/core/device.c @@ -186,6 +186,9 @@ struct divecomputer *fake_dc(struct divecomputer *dc, bool alloc) static void match_id(void *_dc, const char *model, uint32_t deviceid, const char *nickname, const char *serial, const char *firmware) { + // here nickname is unused + (void)nickname; + struct divecomputer *dc = _dc; if (dc->deviceid != deviceid) |