Next round of sonarlint cleanups

This commit is contained in:
Jasmine Iwanek
2023-06-26 12:47:04 -04:00
parent 2fe3bcd5d2
commit 21adfd4d50
176 changed files with 2791 additions and 1377 deletions

View File

@@ -45,7 +45,8 @@ typedef struct
FILE *file; /* Used for HDD_IMAGE_RAW, HDD_IMAGE_HDI, and HDD_IMAGE_HDX. */
MVHDMeta *vhd; /* Used for HDD_IMAGE_VHD. */
uint32_t base;
uint32_t pos, last_sector;
uint32_t pos;
uint32_t last_sector;
uint8_t type; /* HDD_IMAGE_RAW, HDD_IMAGE_HDI, HDD_IMAGE_HDX, or HDD_IMAGE_VHD */
uint8_t loaded;
} hdd_image_t;
@@ -637,7 +638,7 @@ hdd_image_get_type(uint8_t id)
}
void
hdd_image_unload(uint8_t id, int fn_preserve)
hdd_image_unload(uint8_t id, UNUSED(int fn_preserve))
{
if (strlen(hdd[id].fn) == 0)
return;