summaryrefslogtreecommitdiffstats
path: root/src/nspawn/nspawn-gperf.gperf
diff options
context:
space:
mode:
authorShawn Landden <slandden@gmail.com>2017-11-19 19:06:10 +0100
committerShawn Landden <slandden@gmail.com>2017-11-20 22:06:25 +0100
commit4831981d89c628606c825779c75afb03b4839618 (patch)
tree7e35cbb6e0f1fedb3e543dc14d9ac2553e8ed39e /src/nspawn/nspawn-gperf.gperf
parenthwdb: Add ACCEL_MOUNT_MATRIX for the Acer Aspire Switch 10 convertible (diff)
downloadsystemd-4831981d89c628606c825779c75afb03b4839618.tar.xz
systemd-4831981d89c628606c825779c75afb03b4839618.zip
tree-wide: adjust fall through comments so that gcc is happy
Distcc removes comments, making the comment silencing not work. I know there was a decision against a macro in commit ec251fe7d5bc24b5d38b0853bc5969f3a0ba06e2
Diffstat (limited to 'src/nspawn/nspawn-gperf.gperf')
-rw-r--r--src/nspawn/nspawn-gperf.gperf3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nspawn/nspawn-gperf.gperf b/src/nspawn/nspawn-gperf.gperf
index b61b347ee7..ea66971fac 100644
--- a/src/nspawn/nspawn-gperf.gperf
+++ b/src/nspawn/nspawn-gperf.gperf
@@ -1,4 +1,7 @@
%{
+#if __GNUC__ >= 7
+_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
+#endif
#include <stddef.h>
#include "conf-parser.h"
#include "nspawn-settings.h"