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