diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-08-16 11:31:31 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-08-16 11:31:31 -0700 |
commit | 59e53ae4cc428d69c8940c43be3f8b7e4c7cb4d8 (patch) | |
tree | 4a0167325895f2d2719364472d51f3bf83d17afe | |
parent | 9a41d0d8bb2ab4534a7b3a2b3b1c4b61c406b35a (diff) | |
download | subsurface-59e53ae4cc428d69c8940c43be3f8b7e4c7cb4d8.tar.gz |
Hide compile time warning
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-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) |