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

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