summaryrefslogtreecommitdiffstats
path: root/tests/build
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-08-29 20:54:09 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2023-08-30 09:47:12 +0200
commit40102a902abdeeb23db6f13ce083016fd5dcb4ff (patch)
tree53c8e215c9a519e2da62ac61a7a1dcb09e4e810a /tests/build
parentbda4c8b60db5a5814703334bc0c99bde8a59f0f1 (diff)
src: silence "implicit-fallthrough" warnings
Gcc with "-Wextra" warns: CC segtree.lo segtree.c: In function 'get_set_interval_find': segtree.c:129:28: error: this statement may fall through [-Werror=implicit-fallthrough=] 129 | if (expr_basetype(i->key)->type != TYPE_STRING) | ^ segtree.c:134:17: note: here 134 | case EXPR_PREFIX: | ^~~~ CC optimize.lo optimize.c: In function 'rule_collect_stmts': optimize.c:396:28: error: this statement may fall through [-Werror=implicit-fallthrough=] 396 | if (stmt->expr->left->etype == EXPR_CONCAT) { | ^ optimize.c:400:17: note: here 400 | case STMT_VERDICT: | ^~~~ Signed-off-by: Thomas Haller <thaller@redhat.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/build')
0 files changed, 0 insertions, 0 deletions