Author: hpoussin
Date: Tue Jul 18 17:55:22 2006
New Revision: 23144
URL:
http://svn.reactos.org/svn/reactos?rev=23144&view=rev
Log:
Fix a warning (unused variable)
Modified:
trunk/reactos/base/applications/network/tracert/tracert.c
trunk/reactos/base/applications/network/tracert/tracert.h
Modified: trunk/reactos/base/applications/network/tracert/tracert.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/tracert/tracert.c (original)
+++ trunk/reactos/base/applications/network/tracert/tracert.c Tue Jul 18 17:55:22 2006
@@ -208,7 +208,7 @@
/* if RecievePacket timed out we don't bother decoding */
if (iRecieveReturn != 1)
{
- iDecRes = DecodeResponse(iPacketSize, iSeqNum);
+ iDecRes = DecodeResponse(iPacketSize);
switch (iDecRes)
{
@@ -570,7 +570,7 @@
* It all is well, print the time taken for the round trip.
*
*/
-static INT DecodeResponse(INT iPacketSize, USHORT iSeqNum)
+static INT DecodeResponse(INT iPacketSize)
{
unsigned short header_len = recvpacket.h_len * 4;
/* cast the recieved packet into an ECHO reply and a TTL Exceed so we can check the
ID*/
Modified: trunk/reactos/base/applications/network/tracert/tracert.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/tracert/tracert.h (original)
+++ trunk/reactos/base/applications/network/tracert/tracert.h Tue Jul 18 17:55:22 2006
@@ -77,7 +77,7 @@
static VOID PreparePacket(INT packetSize, USHORT seqNum);
static INT SendPacket(INT datasize);
static INT ReceivePacket(INT datasize);
-static INT DecodeResponse(INT packetSize, USHORT seqNum);
+static INT DecodeResponse(INT packetSize);
static LONGLONG GetTime(void);
static WORD CheckSum(PUSHORT data, UINT size);
static VOID Usage(void);