- (dtucker) [packet.c] Remove redundant local declaration of "int tos".

This commit is contained in:
Darren Tucker 2010-11-24 10:46:37 +11:00
parent 88e341e1ca
commit 4b6cbf7aab
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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;