summaryrefslogtreecommitdiffstats
path: root/src/expr/last.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/last.c')
-rw-r--r--src/expr/last.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/expr/last.c b/src/expr/last.c
index 273aaa1..8aa772c 100644
--- a/src/expr/last.c
+++ b/src/expr/last.c
@@ -37,8 +37,6 @@ static int nftnl_expr_last_set(struct nftnl_expr *e, uint16_t type,
case NFTNL_EXPR_LAST_SET:
memcpy(&last->set, data, sizeof(last->set));
break;
- default:
- return -1;
}
return 0;
}