From: Augustin Degomme Date: Tue, 11 Jun 2013 08:06:54 +0000 (+0200) Subject: remove warning X-Git-Tag: v3_9_90~291 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a00f94a0c4dab6793ebd7f61961ef04d15873c23?hp=d1d1f625ff0e84b1b1e2c267dc0078f97da80315 remove warning --- diff --git a/src/smpi/colls/reduce-ompi.c b/src/smpi/colls/reduce-ompi.c index 6dc846cd59..c5d767ce7d 100644 --- a/src/smpi/colls/reduce-ompi.c +++ b/src/smpi/colls/reduce-ompi.c @@ -48,7 +48,6 @@ int smpi_coll_tuned_ompi_reduce_generic( void* sendbuf, void* recvbuf, int origi char *accumbuf = NULL, *accumbuf_free = NULL; char *local_op_buffer = NULL, *sendtmpbuf = NULL; ptrdiff_t extent, lower_bound, segment_increment; - size_t typelng; MPI_Request reqs[2] = {MPI_REQUEST_NULL, MPI_REQUEST_NULL}; int num_segments, line, ret, segindex, i, rank; int recvcount, prevcount, inbi; @@ -58,7 +57,6 @@ int smpi_coll_tuned_ompi_reduce_generic( void* sendbuf, void* recvbuf, int origi * sent per operation */ smpi_datatype_extent( datatype, &lower_bound, &extent); - typelng = smpi_datatype_size( datatype ); num_segments = (original_count + count_by_segment - 1) / count_by_segment; segment_increment = count_by_segment * extent;