[ros-diffs] [hpoussin] 23144: Fix a warning (unused variable)

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Tue Jul 18 15:55:23 CEST 2006


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/tracert/tracert.c?rev=23144&r1=23143&r2=23144&view=diff
==============================================================================
--- 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/tracert/tracert.h?rev=23144&r1=23143&r2=23144&view=diff
==============================================================================
--- 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);




More information about the Ros-diffs mailing list