aboutsummaryrefslogtreecommitdiffstats
path: root/core/libdivecomputer.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-06-20 18:44:16 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-06-20 18:44:16 -0700
commitcb20da7de3380481141c76cdffaafdb692b162e2 (patch)
tree2cf7d9e3d944d7d40b3b7dfa5d1a2f499fec46b7 /core/libdivecomputer.c
parent9803d7acde1ec6afc886eb7f813ab89dda5f60ef (diff)
downloadsubsurface-cb20da7de3380481141c76cdffaafdb692b162e2.tar.gz
Avoid unused argument warnings
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/libdivecomputer.c')
-rw-r--r--core/libdivecomputer.c3
1 files changed, 3 insertions, 0 deletions
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)