Even more sonarlint work

This commit is contained in:
Jasmine Iwanek
2023-06-01 18:32:25 -04:00
parent ef2b84ed63
commit d1127e68fa
89 changed files with 2509 additions and 1542 deletions

View File

@@ -370,7 +370,7 @@ video_card_available(int card)
if (video_cards[card].device)
return (device_available(video_cards[card].device));
return (1);
return 1;
}
int
@@ -389,7 +389,7 @@ int
video_card_has_config(int card)
{
if (video_cards[card].device == NULL)
return (0);
return 0;
return (device_has_config(video_cards[card].device) ? 1 : 0);
}
@@ -407,11 +407,11 @@ video_get_video_from_internal_name(char *s)
while (video_cards[c].device != NULL) {
if (!strcmp((char *) video_cards[c].device->internal_name, s))
return (c);
return c;
c++;
}
return (0);
return 0;
}
int