From 39d66f00ef9e2ac201b556687566c9f160b57f73 Mon Sep 17 00:00:00 2001 From: win2kgamer <47463859+win2kgamer@users.noreply.github.com> Date: Sun, 14 Sep 2025 13:45:26 -0500 Subject: [PATCH] Remove two unused local variables causing a CodeQL failure --- src/sound/snd_ymf701.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sound/snd_ymf701.c b/src/sound/snd_ymf701.c index 0ce57064f..001a5622b 100644 --- a/src/sound/snd_ymf701.c +++ b/src/sound/snd_ymf701.c @@ -186,8 +186,6 @@ static void ymf701_reg_write(uint16_t addr, uint8_t val, void *priv) { ymf701_t *ymf701 = (ymf701_t *) priv; - uint16_t idx; - uint8_t old = ymf701->regs[idx]; static uint8_t reg_enable_phase = 0; if (ymf701->reg_enabled) {