Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove unused var
authordegomme <augustin.degomme@unibas.ch>
Fri, 19 Jun 2015 10:02:37 +0000 (12:02 +0200)
committerdegomme <augustin.degomme@unibas.ch>
Tue, 23 Jun 2015 07:27:04 +0000 (09:27 +0200)
teshsuite/smpi/mpich3-test/perf/sendrecvl.c

index f0d6843..1a54a70 100644 (file)
@@ -90,8 +90,6 @@ int main( int argc, char *argv[] )
        if (wrank == 0) {
            t1 = t1 / reps;
            if (t1 > 0) {
-               double rate;
-               rate = (len / t1) / 1.e6;
                t1   = t1 * 1.e6;
                if (verbose) 
                    printf( "%d\t%g\t%g\n", len, t1, len/t1 );
@@ -138,8 +136,6 @@ int main( int argc, char *argv[] )
        if (wrank == 0) {
            t1 = t1 / reps;
            if (t1 > 0) {
-               double rate;
-               rate = (len / t1) / 1.e6;
                t1   = t1 * 1.e6;
                if (verbose)
                    printf( "%d\t%g\t%g\n", len, t1, len/t1 );
@@ -193,8 +189,6 @@ int main( int argc, char *argv[] )
        if (wrank == 0) {
            t1 = t1 / reps;
            if (t1 > 0) {
-               double rate;
-               rate = (len / t1) / 1.e6;
                t1   = t1 * 1.e6;
                if (verbose)
                    printf( "%d\t%g\t%g\n", len, t1, len/t1 );