summaryrefslogtreecommitdiffstats
path: root/src/expr/fwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/fwd.c')
-rw-r--r--src/expr/fwd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/expr/fwd.c b/src/expr/fwd.c
index 3aaf328..bd1b1d8 100644
--- a/src/expr/fwd.c
+++ b/src/expr/fwd.c
@@ -41,8 +41,6 @@ static int nftnl_expr_fwd_set(struct nftnl_expr *e, uint16_t type,
case NFTNL_EXPR_FWD_NFPROTO:
memcpy(&fwd->nfproto, data, sizeof(fwd->nfproto));
break;
- default:
- return -1;
}
return 0;
}