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

@@ -90,7 +90,8 @@ void
stg_ramdac_out(uint16_t addr, uint8_t val, void *p, svga_t *svga)
{
stg_ramdac_t *ramdac = (stg_ramdac_t *) p;
int didwrite, old;
int didwrite;
int old;
switch (addr) {
case 0x3c6:
@@ -202,7 +203,9 @@ stg_getclock(int clock, void *p)
{
stg_ramdac_t *ramdac = (stg_ramdac_t *) p;
float t;
int m, n, n2;
int m;
int n;
int n2;
uint16_t *c;
if (clock == 0)