From 4b6cbf7aabbcbe170a69e9780e7c4ec06a3224e0 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Wed, 24 Nov 2010 10:46:37 +1100 Subject: - (dtucker) [packet.c] Remove redundant local declaration of "int tos". --- ChangeLog | 1 + packet.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 91e2c892a..2e8fd43d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ into the platform-specific code Only affects SCO, tested by and ok tim@. - (djm) [loginrec.c] Relax permission requirement on btmp logs to allow group read/write. ok dtucker@ + - (dtucker) [packet.c] Remove redundant local declaration of "int tos". 20101122 - (dtucker) Bug #1840: fix warning when configuring --with-ssl-engine, patch diff --git a/packet.c b/packet.c index 012c39a3c..b4e01f716 100644 --- a/packet.c +++ b/packet.c @@ -1753,8 +1753,6 @@ static void packet_set_tos(int tos) { #if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN) - int tos = interactive ? IPTOS_LOWDELAY : IPTOS_THROUGHPUT; - if (!packet_connection_is_on_socket() || !packet_connection_is_ipv4()) return; -- cgit v1.2.3