gentoo-linux-surface-overlay/sys-libs/hidrd/files/fallthrough.patch

13 lines
478 B
Diff
Raw Permalink Normal View History

/fmt/xml/snk/element.c
--- a/lib/fmt/xml/snk/element.c 2023-04-21 09:23:25.216848044 -0700
+++ b/lib/fmt/xml/snk/element.c 2023-04-21 09:24:15.893725175 -0700
@@ -229,6 +229,7 @@
case XML_SNK_ELEMENT_NT_ATTR:
/* Retrieve name */
(void)va_arg(*pap, const char *);
+ /* FALLTHROUGH */
case XML_SNK_ELEMENT_NT_COMMENT:
case XML_SNK_ELEMENT_NT_CONTENT:
fmt = va_arg(*pap, hidrd_fmt_type);