diff options
author | Jozsef Kadlecsik <kadlec@netfilter.org> | 2021-02-09 19:41:23 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@netfilter.org> | 2021-02-09 19:41:23 +0100 |
commit | b031a4db2237503d370624cfc9573ead7438fddf (patch) | |
tree | 80dff38a9024c8c0b511fab39883591e0700b858 /lib | |
parent | 423a309ca8df5747e41a28ddce33d61fe64a2844 (diff) |
Handle -Werror=implicit-fallthrough= in debug mode compiling
Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ipset.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ipset.c b/lib/ipset.c index 8ae2b6f..6729919 100644 --- a/lib/ipset.c +++ b/lib/ipset.c @@ -27,6 +27,7 @@ #include <libipset/print.h> /* ipset_print_family */ #include <libipset/utils.h> /* STREQ */ #include <libipset/ipset.h> /* prototypes */ +#include <libipset/ip_set_compiler.h> /* compiler attributes */ static char program_name[] = PACKAGE; static char program_version[] = PACKAGE_VERSION; @@ -1213,6 +1214,7 @@ ipset_parse_argv(struct ipset *ipset, int oargc, char *oargv[]) return ret; } /* Fall through to parse optional setname */ + fallthrough; case IPSET_CMD_DESTROY: case IPSET_CMD_FLUSH: /* Args: [setname] */ |