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