From 6dc506c9def674866ffa75d465832bb41c26e34c Mon Sep 17 00:00:00 2001 From: Shiqing Fan Date: Thu, 14 Jan 2010 22:01:26 +0000 Subject: [PATCH] Make the MS compiler happy when building static libraries. This commit was SVN r22416. --- ompi/communicator/comm_cid.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ompi/communicator/comm_cid.c b/ompi/communicator/comm_cid.c index 89f8139503..0a68861bfe 100644 --- a/ompi/communicator/comm_cid.c +++ b/ompi/communicator/comm_cid.c @@ -160,6 +160,11 @@ int ompi_comm_nextcid ( ompi_communicator_t* newcomm, int nextcid, block; int global_block_start; bool flag; + int nextlocal_cid; + int done=0; + int response, glresponse=0; + int start; + unsigned int i; ompi_comm_cid_allredfct* allredfnct; @@ -186,12 +191,6 @@ int ompi_comm_nextcid ( ompi_communicator_t* newcomm, return MPI_UNDEFINED; break; } - - int nextlocal_cid; - int done=0; - int response, glresponse=0; - int start; - unsigned int i; do { /* Only one communicator function allowed in same time on the