summaryrefslogtreecommitdiff
path: root/tools/ivyperf.c
diff options
context:
space:
mode:
authorbustico2013-06-20 08:38:59 +0000
committerbustico2013-06-20 08:38:59 +0000
commitbd89957287441872706432d1e283091b4e5cdbc8 (patch)
tree6590870a01cdd3314201efd5aaba69c61d4c0bb3 /tools/ivyperf.c
parent15afc0c41a75c7180d981e77c7673dfefc3d8913 (diff)
downloadivy-c-bd89957287441872706432d1e283091b4e5cdbc8.zip
ivy-c-bd89957287441872706432d1e283091b4e5cdbc8.tar.gz
ivy-c-bd89957287441872706432d1e283091b4e5cdbc8.tar.bz2
ivy-c-bd89957287441872706432d1e283091b4e5cdbc8.tar.xz
fix compilation warning
Diffstat (limited to 'tools/ivyperf.c')
-rw-r--r--tools/ivyperf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/ivyperf.c b/tools/ivyperf.c
index 8683692..a7845f0 100644
--- a/tools/ivyperf.c
+++ b/tools/ivyperf.c
@@ -74,17 +74,11 @@ void Pong (IvyClientPtr app, void *user_data, int argc, char *argv[])
{
double current;
double ts;
- double tr;
- double roundtrip1;
- double roundtrip2;
double roundtrip3;
nbMsgReceive++;
current = currentTime() - origin ;
ts = atof( *argv++ );
- tr = atof( *argv++ );
- roundtrip1 = tr-ts;
- roundtrip2 = current - tr;
roundtrip3 = current - ts;
if ( roundtrip3 > maxRoundTrip ) maxRoundTrip = roundtrip3;
if ( roundtrip3 < minRoundTrip ) minRoundTrip = roundtrip3;