diff options
Diffstat (limited to 'src/expr/counter.c')
-rw-r--r-- | src/expr/counter.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/expr/counter.c b/src/expr/counter.c index 0595d50..a003e24 100644 --- a/src/expr/counter.c +++ b/src/expr/counter.c @@ -40,8 +40,6 @@ nftnl_expr_counter_set(struct nftnl_expr *e, uint16_t type, case NFTNL_EXPR_CTR_PACKETS: memcpy(&ctr->pkts, data, sizeof(ctr->pkts)); break; - default: - return -1; } return 0; } |