From 38e5f2a374b4051f943145a9cb1336be0ad86bc4 Mon Sep 17 00:00:00 2001 From: win2kgamer <47463859+win2kgamer@users.noreply.github.com> Date: Mon, 16 Feb 2026 21:12:59 -0600 Subject: [PATCH] Sensation audio: Initialize ret in sensation_visdac_read, should fix a compiler warning --- src/sound/snd_sensation.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sound/snd_sensation.c b/src/sound/snd_sensation.c index ea87c8391..aeb58fb46 100644 --- a/src/sound/snd_sensation.c +++ b/src/sound/snd_sensation.c @@ -808,6 +808,7 @@ sensation_visdac_read(uint16_t port, void *priv) sensation_t *visdac = (sensation_t *) priv; uint8_t ret; + ret = 0xff; switch (port & 0xF) { case 0x00: