diff options
Diffstat (limited to 'src/expr/log.c')
-rw-r--r-- | src/expr/log.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/expr/log.c b/src/expr/log.c index 161327b..86d9651 100644 --- a/src/expr/log.c +++ b/src/expr/log.c @@ -301,9 +301,6 @@ static int nftnl_expr_log_snprintf(char *buf, size_t len, uint32_t type, uint32_t flags, const struct nftnl_expr *e) { - if (len) - buf[0] = '\0'; - switch(type) { case NFTNL_OUTPUT_DEFAULT: return nftnl_expr_log_snprintf_default(buf, len, e); |