From 9702e28e5c3f2fd8275c196c7ed38f4900d9e130 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sun, 14 Sep 2025 23:47:43 +0200 Subject: [PATCH] YMF-701: Removed an unused variable. --- src/sound/snd_ymf701.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sound/snd_ymf701.c b/src/sound/snd_ymf701.c index 001a5622b..ff2f9f78a 100644 --- a/src/sound/snd_ymf701.c +++ b/src/sound/snd_ymf701.c @@ -185,8 +185,7 @@ ymf701_add_opl(ymf701_t *ymf701) static void ymf701_reg_write(uint16_t addr, uint8_t val, void *priv) { - ymf701_t *ymf701 = (ymf701_t *) priv; - static uint8_t reg_enable_phase = 0; + ymf701_t *ymf701 = (ymf701_t *) priv; if (ymf701->reg_enabled) { ymf701_log(ymf701->log, "Write with reg access enabled:\n");