Skip to contentSkip to conversation

speakup: Fix warning for label at end of compound statement

PATCH New Samuel Thibault 1 participant 1 message Mar 9, 2024 Speakup console speech driver

lore
Share & tools
lore

Samuel Thibault

author maintainer
#0 lore raw

PATCH 1/1 speakup: Fix warning for label at end of compound statement

Label at end of compound statements is a C2x extension, so add an empty instruction.

drivers/accessibility/speakup/devsynth.c +1 -0
Index: linux-6.4/drivers/accessibility/speakup/devsynth.c
===================================================================
@@ -108,6 +108,7 @@ static ssize_t speakup_file_writeu(struc
 				break;
 			}
 drop:
+			;
 		}
 
 		count -= bytes;