diff options
Diffstat (limited to 'src/expr/payload.c')
-rw-r--r-- | src/expr/payload.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/expr/payload.c b/src/expr/payload.c index 897fc77..91e1587 100644 --- a/src/expr/payload.c +++ b/src/expr/payload.c @@ -290,9 +290,6 @@ nftnl_expr_payload_snprintf(char *buf, size_t len, uint32_t type, { struct nftnl_expr_payload *payload = nftnl_expr_data(e); - if (len) - buf[0] = '\0'; - switch (type) { case NFTNL_OUTPUT_DEFAULT: if (payload->sreg) |