mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Hide compile time warning
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9a41d0d8bb
commit
59e53ae4cc
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue