diff options
Diffstat (limited to 'src/table.c')
-rw-r--r-- | src/table.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/table.c b/src/table.c index 4d8176c..db870cd 100644 --- a/src/table.c +++ b/src/table.c @@ -417,9 +417,6 @@ EXPORT_SYMBOL(nftnl_table_snprintf); static int nftnl_table_do_snprintf(char *buf, size_t size, const void *t, uint32_t cmd, uint32_t type, uint32_t flags) { - if (size) - buf[0] = '\0'; - return nftnl_table_snprintf(buf, size, t, type, flags); } |