diff options
Diffstat (limited to 'src/expr/cmp.c')
-rw-r--r-- | src/expr/cmp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/expr/cmp.c b/src/expr/cmp.c index 7bafaec..b26d0eb 100644 --- a/src/expr/cmp.c +++ b/src/expr/cmp.c @@ -246,9 +246,6 @@ static int nftnl_expr_cmp_snprintf(char *buf, size_t size, uint32_t type, uint32_t flags, const struct nftnl_expr *e) { - if (size) - buf[0] = '\0'; - switch (type) { case NFTNL_OUTPUT_DEFAULT: return nftnl_expr_cmp_snprintf_default(buf, size, e); |