More linting in src/disk
This commit is contained in:
@@ -461,7 +461,7 @@ hdd_preset_get_from_internal_name(char *s)
|
||||
int c = 0;
|
||||
|
||||
for (int i = 0; i < (sizeof(hdd_speed_presets) / sizeof(hdd_preset_t)); i++) {
|
||||
if (!strcmp((char *) hdd_speed_presets[c].internal_name, s))
|
||||
if (!strcmp(hdd_speed_presets[c].internal_name, s))
|
||||
return c;
|
||||
c++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user