mirror of
https://github.com/86Box/86Box.git
synced 2026-02-27 17:34:25 -07:00
Some code smell fixes from sonarlint
This commit is contained in:
@@ -577,11 +577,9 @@ ctr_reset(ctrf_t *ctr)
|
||||
static void
|
||||
pitf_reset(pitf_t *dev)
|
||||
{
|
||||
int i;
|
||||
|
||||
memset(dev, 0, sizeof(pitf_t));
|
||||
|
||||
for (i = 0; i < 3; i++)
|
||||
for (uint8_t i = 0; i < 3; i++)
|
||||
ctr_reset(&dev->counters[i]);
|
||||
|
||||
/* Disable speaker gate. */
|
||||
|
||||
Reference in New Issue
Block a user