Blame SOURCES/bz1678480-resolve-compiler-warning.patch

b6983f
From 1dce490fdf829a0decb544a6147c4c5cc4cecf51 Mon Sep 17 00:00:00 2001
b6983f
From: Quentin Armitage <quentin@armitage.org.uk>
b6983f
Date: Fri, 14 Jul 2017 16:45:02 +0100
b6983f
Subject: [PATCH 8/8] Resolve compiler warning introduced by commit 8361b11
b6983f
b6983f
Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
b6983f
---
b6983f
 keepalived/check/check_tcp.c | 3 ---
b6983f
 1 file changed, 3 deletions(-)
b6983f
b6983f
diff --git a/keepalived/check/check_tcp.c b/keepalived/check/check_tcp.c
b6983f
index 7afed022..69615544 100644
b6983f
--- a/keepalived/check/check_tcp.c
b6983f
+++ b/keepalived/check/check_tcp.c
b6983f
@@ -65,9 +65,6 @@ dump_tcp_check(void *data)
b6983f
 static bool
b6983f
 tcp_check_compare(void *a, void *b)
b6983f
 {
b6983f
-	tcp_check_t *old = CHECKER_DATA(a);
b6983f
-	tcp_check_t *new = CHECKER_DATA(b);
b6983f
-
b6983f
 	if (!compare_conn_opts(CHECKER_CO(a), CHECKER_CO(b)))
b6983f
 		return false;
b6983f
 
b6983f
-- 
b6983f
2.20.1
b6983f