]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/network/networkd-gperf.gperf
tree-wide: adjust fall through comments so that gcc is happy
[thirdparty/systemd.git] / src / network / networkd-gperf.gperf
index eca436d9fde4e61a0886a4a36b7eca82d7366136..54161446bba942bd58fe25dd4a4b9cf9a9de26e5 100644 (file)
@@ -1,4 +1,7 @@
 %{
+#if __GNUC__ >= 7
+_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
+#endif
 #include <stddef.h>
 #include "conf-parser.h"
 #include "networkd-conf.h"