[Devel] [PATCH vz10 11/15] selftests/netfilter: remove unused variable 'plen' in conntrack_reverse_clash

Vasileios Almpanis vasileios.almpanis at virtuozzo.com
Mon Mar 30 11:26:24 MSK 2026


Reviewed-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>

On 3/23/26 9:31 PM, Konstantin Khorenko wrote:
>    conntrack_reverse_clash.c: In function 'main':
>    conntrack_reverse_clash.c:66:19: warning: unused variable 'plen' [-Wunused-variable]
>       66 |         socklen_t plen;
>          |                   ^~~~
>
> Remove unused 'plen' to fix -Wunused-variable warning.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-127529
> Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
>
> Feature: fix selftests
> ---
>   tools/testing/selftests/net/netfilter/conntrack_reverse_clash.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/tools/testing/selftests/net/netfilter/conntrack_reverse_clash.c b/tools/testing/selftests/net/netfilter/conntrack_reverse_clash.c
> index 507930cee8cb..0a105523e039 100644
> --- a/tools/testing/selftests/net/netfilter/conntrack_reverse_clash.c
> +++ b/tools/testing/selftests/net/netfilter/conntrack_reverse_clash.c
> @@ -63,7 +63,6 @@ int main(int argc, char *argv[])
>   	};
>   	int s1, s2, status;
>   	time_t end, now;
> -	socklen_t plen;
>   	char buf[LEN];
>   	bool child;
>   


More information about the Devel mailing list