From 3b782da96017c294770ab71544fd3ceb7ab61630 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 7 Mar 2016 16:18:23 -0300 Subject: Silence warnings in liquivision.c Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- subsurface-core/liquivision.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'subsurface-core/liquivision.c') diff --git a/subsurface-core/liquivision.c b/subsurface-core/liquivision.c index b9db4a8f1..9347a724a 100644 --- a/subsurface-core/liquivision.c +++ b/subsurface-core/liquivision.c @@ -24,6 +24,11 @@ uint16_t primary_sensor; static int handle_event_ver2(int code, const unsigned char *ps, unsigned int ps_ptr, struct lv_event *event) { + (void) code; + (void) ps; + (void) ps_ptr; + (void) event; + // Skip 4 bytes return 4; } @@ -387,6 +392,7 @@ static void parse_dives (int log_version, const unsigned char *buf, unsigned int int try_to_open_liquivision(const char *filename, struct memblock *mem) { + (void) filename; const unsigned char *buf = mem->buffer; unsigned int buf_size = mem->size; unsigned int ptr; -- cgit v1.2.3-70-g09d2