Assorted warning fixes
This commit is contained in:
@@ -313,7 +313,7 @@ mtouch_process_commands(mouse_microtouch_t *dev)
|
||||
}
|
||||
|
||||
static void
|
||||
mtouch_write(serial_t *serial, void *priv, uint8_t data)
|
||||
mtouch_write(UNUSED(serial_t *serial), void *priv, uint8_t data)
|
||||
{
|
||||
mouse_microtouch_t *dev = (mouse_microtouch_t *) priv;
|
||||
|
||||
@@ -495,7 +495,7 @@ mtouch_poll_global(void)
|
||||
}
|
||||
|
||||
void *
|
||||
mtouch_init(const device_t *info)
|
||||
mtouch_init(UNUSED(const device_t *info))
|
||||
{
|
||||
mouse_microtouch_t *dev = calloc(1, sizeof(mouse_microtouch_t));
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <86box/plat_unused.h>
|
||||
|
||||
static uint8_t
|
||||
nec_mate_unk_read(UNUSED(uint16_t addr), void *priv)
|
||||
nec_mate_unk_read(UNUSED(uint16_t addr), UNUSED(void *priv))
|
||||
{
|
||||
/* Expected by this NEC machine.
|
||||
|
||||
@@ -49,7 +49,7 @@ nec_mate_unk_close(void *priv)
|
||||
}
|
||||
|
||||
static void *
|
||||
nec_mate_unk_init(const device_t *info)
|
||||
nec_mate_unk_init(UNUSED(const device_t *info))
|
||||
{
|
||||
/* We have to return something non-NULL. */
|
||||
uint8_t *dev = (uint8_t *) calloc(1, sizeof(uint8_t));
|
||||
|
||||
@@ -61,7 +61,7 @@ novell_cardkey_read(uint16_t port, void *priv)
|
||||
return val ^ 0xFF;
|
||||
}
|
||||
|
||||
void* novell_cardkey_init(const device_t* info)
|
||||
void* novell_cardkey_init(UNUSED(const device_t* info))
|
||||
{
|
||||
char sernumstr[13] = { '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 0 };
|
||||
int i = 0;
|
||||
|
||||
Reference in New Issue
Block a user