From fd615df4984a14ed02924279352f41112b08ef5a Mon Sep 17 00:00:00 2001 From: Marion Guthmuller Date: Thu, 13 Jun 2013 12:29:40 +0200 Subject: [PATCH] unused variable if tracing disabled --- src/smpi/smpi_pmpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1