From a00f94a0c4dab6793ebd7f61961ef04d15873c23 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Tue, 11 Jun 2013 10:06:54 +0200 Subject: [PATCH] remove warning --- src/smpi/colls/reduce-ompi.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.20.1