From 59e53ae4cc428d69c8940c43be3f8b7e4c7cb4d8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 16 Aug 2016 11:31:31 -0700 Subject: Hide compile time warning Signed-off-by: Dirk Hohndel --- core/device.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core') 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) -- cgit v1.2.3-70-g09d2