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

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