diff options
Diffstat (limited to 'src/expr/byteorder.c')
-rw-r--r-- | src/expr/byteorder.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/expr/byteorder.c b/src/expr/byteorder.c index 4bb95b4..47c04cf 100644 --- a/src/expr/byteorder.c +++ b/src/expr/byteorder.c @@ -272,9 +272,6 @@ static int nftnl_expr_byteorder_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_byteorder_snprintf_default(buf, size, e); |