From cb20da7de3380481141c76cdffaafdb692b162e2 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 20 Jun 2016 18:44:16 -0700 Subject: Avoid unused argument warnings Signed-off-by: Dirk Hohndel --- core/libdivecomputer.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/libdivecomputer.c') diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c index cfe6a8049..a949e582e 100644 --- a/core/libdivecomputer.c +++ b/core/libdivecomputer.c @@ -457,6 +457,9 @@ static uint32_t calculate_string_hash(const char *str) */ static void dc_match_serial(void *_dc, const char *model, uint32_t deviceid, const char *nickname, const char *serial, const char *firmware) { + (void)nickname; + (void)firmware; + struct divecomputer *dc = _dc; if (!deviceid) -- cgit v1.2.3-70-g09d2