Assorted warning fixes

This commit is contained in:
Jasmine Iwanek
2025-01-26 15:15:53 -05:00
parent a5bf0dc9c8
commit 5f273265ae
136 changed files with 1374 additions and 1291 deletions

View File

@@ -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));