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 <[email protected]>

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;
 
-- 
2.47.1

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to