More sonarlint work

This commit is contained in:
Jasmine Iwanek
2023-06-09 23:46:54 -04:00
parent 0d1d069af4
commit ee695e71f9
218 changed files with 6282 additions and 3845 deletions

View File

@@ -39,6 +39,7 @@
#include <86box/vid_cga.h>
#include <86box/vid_ogc.h>
#include <86box/vid_cga_comp.h>
#include <86box/plat_unused.h>
/*
* Current bugs:
@@ -140,7 +141,7 @@ ogc_in(uint16_t addr, void *priv)
}
void
ogc_waitstates(void *p)
ogc_waitstates(UNUSED(void *priv))
{
int ws_array[16] = { 3, 4, 5, 6, 7, 8, 4, 5, 6, 7, 8, 4, 5, 6, 7, 8 };
int ws;
@@ -572,7 +573,7 @@ ogc_mdaattr_rebuild(void)
* - Optional EGC expansion board (which handles 640x400x16) not implemented
*/
void *
ogc_init(const device_t *info)
ogc_init(UNUSED(const device_t *info))
{
// int display_type;
ogc_t *ogc = (ogc_t *) malloc(sizeof(ogc_t));