diff options
Diffstat (limited to 'src/expr/lookup.c')
-rw-r--r-- | src/expr/lookup.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/expr/lookup.c b/src/expr/lookup.c index 32220a3..5fcb81f 100644 --- a/src/expr/lookup.c +++ b/src/expr/lookup.c @@ -242,9 +242,6 @@ static int nftnl_expr_lookup_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_lookup_snprintf_default(buf, size, e); |