diff options
Diffstat (limited to 'src/expr/match.c')
-rw-r--r-- | src/expr/match.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/expr/match.c b/src/expr/match.c index af659b3..dd09e1e 100644 --- a/src/expr/match.c +++ b/src/expr/match.c @@ -200,9 +200,6 @@ nftnl_expr_match_snprintf(char *buf, size_t len, uint32_t type, { struct nftnl_expr_match *match = nftnl_expr_data(e); - if (len) - buf[0] = '\0'; - switch (type) { case NFTNL_OUTPUT_DEFAULT: return snprintf(buf, len, "name %s rev %u ", |