mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Silence warnings in liquivision.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
62bdc9e3ec
commit
3b782da960
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue