snd_sb.c: Fix compilation error

Variable declarations, unlike statements, aren't allowed after
labels (including case labels) according to the C standard,
so insert a semicolon to make an empty statement that satisfies
the requirement.

Oddly, MSYS2/MinGW-w64 GCC, unlike other compilers, including GCC
on other systems, seemed to accept them without errors...
This commit is contained in:
Alexander Babikov
2024-05-04 03:31:14 +05:00
parent 49824894e8
commit 19949b9a76

View File

@@ -1292,6 +1292,7 @@ sb_ct1745_mixer_read(uint16_t addr, void *priv)
break;
case 0x82:
; /* Empty statement to make compilers happy about the following variable declaration. */
/* The Interrupt status register, addressed as register 82h on the Mixer register map,
is used by the ISR to determine whether the interrupt is meant for it or for some
other ISR, in which case it should chain to the previous routine. */