From: Marion Guthmuller Date: Thu, 13 Jun 2013 10:29:40 +0000 (+0200) Subject: unused variable if tracing disabled X-Git-Tag: v3_9_90~274^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/fd615df4984a14ed02924279352f41112b08ef5a?ds=sidebyside unused variable if tracing disabled --- diff --git a/src/smpi/smpi_pmpi.c b/src/smpi/smpi_pmpi.c index 8e890ec452..64c66cb906 100644 --- a/src/smpi/smpi_pmpi.c +++ b/src/smpi/smpi_pmpi.c @@ -1870,9 +1870,9 @@ int PMPI_Reduce_scatter(void *sendbuf, void *recvbuf, int *recvcounts, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) { int retval; - int rank = comm != MPI_COMM_NULL ? smpi_process_index() : -1; smpi_bench_end(); #ifdef HAVE_TRACING + int rank = comm != MPI_COMM_NULL ? smpi_process_index() : -1; TRACE_smpi_computing_out(rank); TRACE_smpi_collective_in(rank, -1, __FUNCTION__); #endif