summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-07 16:18:23 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-07 16:34:17 -0800
commit3b782da96017c294770ab71544fd3ceb7ab61630 (patch)
treee8157ac2d57bac2942eb7f5badbd63f3191cfd02
parent62bdc9e3ecffedb0c82f347e054dbf1a1a36fe9d (diff)
downloadsubsurface-3b782da96017c294770ab71544fd3ceb7ab61630.tar.gz
Silence warnings in liquivision.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--subsurface-core/liquivision.c6
1 files changed, 6 insertions, 0 deletions
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;