Subject: [PATCH] iputils: clockdiff: remove unused variable

From: Jan Synacek <[email-masked]>
Date: Mon, 12 Nov 2012 09:38:29 +0100

Hello,

attached is a small patch that removes an unused variable.

Cheers,

-- 
Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat
>>From 43edd5f73b1c6d1d6c033076c3ebcd43bf169594 Mon Sep 17 00:00:00 2001
From: Jan Synacek <[email-masked]>
Date: Mon, 12 Nov 2012 09:31:53 +0100
Subject: [PATCH] clockdiff: remove unused variable

Signed-off-by: Jan Synacek <[email-masked]>
---
 clockdiff.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/clockdiff.c b/clockdiff.c
index 32590d7..7c1ea1b 100644
--- a/clockdiff.c
+++ b/clockdiff.c
@@ -129,7 +129,7 @@ measure(struct sockaddr_in * addr)
 	int msgcount;
 	int cc, count;
 	fd_set ready;
-	long sendtime, recvtime, histime,  histime1;
+	long sendtime, recvtime, histime;
 	long min1, min2, diff;
 	long delta1, delta2;
 	struct timeval tv1, tout;
@@ -243,7 +243,6 @@ empty:
 			  rtt_sigma = (rtt_sigma *3 + abs(diff-rtt))/4;
 			  msgcount++;
 			  histime = ntohl(((__u32*)(icp+1))[1]);
-			  histime1 = ntohl(((__u32*)(icp+1))[2]);
 		/*
 		 * a hosts using a time format different from
 		 * ms. since midnight UT (as per RFC792) should
-- 
1.7.11.7