Fix most of the warnings in the macos builds

This commit is contained in:
Jasmine Iwanek
2023-12-17 15:34:18 -05:00
parent 4c87164692
commit 8e74ee2726
3 changed files with 2 additions and 4 deletions

View File

@@ -489,12 +489,10 @@ static void
ali5229_ide_irq_handler(ali1543_t *dev) ali5229_ide_irq_handler(ali1543_t *dev)
{ {
int ctl = 0; int ctl = 0;
int ch = 0;
int bit = 0; int bit = 0;
if (dev->ide_conf[0x52] & 0x10) { if (dev->ide_conf[0x52] & 0x10) {
ctl ^= 1; ctl ^= 1;
ch ^= 1;
bit ^= 5; bit ^= 5;
} }

View File

@@ -88,7 +88,7 @@ RendererCommon::onResize(int width, int height)
if (video_fullscreen_scale == FULLSCR_SCALE_INT43) { if (video_fullscreen_scale == FULLSCR_SCALE_INT43) {
gh = gw / r43; gh = gw / r43;
gw = gw; // gw = gw;
gsr = r43; gsr = r43;
} }

View File

@@ -830,7 +830,7 @@ plat_init_rom_paths(void)
rom_add_path("/usr/share/86Box/roms/"); rom_add_path("/usr/share/86Box/roms/");
} }
#else #else
char default_rom_path[1024] = { '\0 ' }; char default_rom_path[1024] = { '\0' };
getDefaultROMPath(default_rom_path); getDefaultROMPath(default_rom_path);
rom_add_path(default_rom_path); rom_add_path(default_rom_path);
#endif #endif