diff options
author | Shawn Landden <slandden@gmail.com> | 2017-11-19 19:06:10 +0100 |
---|---|---|
committer | Shawn Landden <slandden@gmail.com> | 2017-11-20 22:06:25 +0100 |
commit | 4831981d89c628606c825779c75afb03b4839618 (patch) | |
tree | 7e35cbb6e0f1fedb3e543dc14d9ac2553e8ed39e /src/nspawn/nspawn-gperf.gperf | |
parent | hwdb: Add ACCEL_MOUNT_MATRIX for the Acer Aspire Switch 10 convertible (diff) | |
download | systemd-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.gperf | 3 |
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" |