Setting 'ret' without calling BUFFER_SIZE() is pointless. Fixes: 1c596b9ec8f26 ("conntrack: implement save output format") Signed-off-by: Phil Sutter <phil@xxxxxx> --- src/conntrack.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/conntrack.c b/src/conntrack.c index 07fae3dc2ff07..2bd71e17e6be6 100644 --- a/src/conntrack.c +++ b/src/conntrack.c @@ -761,7 +761,6 @@ static int ct_save_snprintf(char *buf, size_t len, BUFFER_SIZE(ret, size, len, offset); break; default: - ret = 0; break; } -- 2.38.0