Another round of sonarlint work
This commit is contained in:
@@ -107,8 +107,8 @@ hdd_bus_to_string(int bus, UNUSED(int cdrom))
|
||||
char *s = "none";
|
||||
|
||||
switch (bus) {
|
||||
case HDD_BUS_DISABLED:
|
||||
default:
|
||||
case HDD_BUS_DISABLED:
|
||||
break;
|
||||
|
||||
case HDD_BUS_MFM:
|
||||
@@ -165,7 +165,7 @@ hdd_seek_get_time(hard_disk_t *hdd, uint32_t dst_addr, uint8_t operation, uint8_
|
||||
fatal("hdd_seek_get_time(): hdd->num_zones < 0)\n");
|
||||
return 0.0;
|
||||
}
|
||||
for (int i = 0; i < hdd->num_zones; i++) {
|
||||
for (uint32_t i = 0; i < hdd->num_zones; i++) {
|
||||
zone = &hdd->zones[i];
|
||||
if (zone->end_sector >= dst_addr)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user