summaryrefslogtreecommitdiffstats
path: root/core/device.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-08-16 11:31:31 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-08-16 11:31:31 -0700
commit59e53ae4cc428d69c8940c43be3f8b7e4c7cb4d8 (patch)
tree4a0167325895f2d2719364472d51f3bf83d17afe /core/device.c
parent9a41d0d8bb2ab4534a7b3a2b3b1c4b61c406b35a (diff)
downloadsubsurface-59e53ae4cc428d69c8940c43be3f8b7e4c7cb4d8.tar.gz
Hide compile time warning
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/device.c')
-rw-r--r--core/device.c3
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)