|
10 | 10 | * University of Stuttgart. All rights reserved. |
11 | 11 | * Copyright (c) 2004-2005 The Regents of the University of California. |
12 | 12 | * All rights reserved. |
13 | | - * Copyright (c) 2013 Los Alamos National Security, LLC. All Rights |
| 13 | + * Copyright (c) 2013-2016 Los Alamos National Security, LLC. All Rights |
14 | 14 | * reserved. |
15 | 15 | * Copyright (c) 2014-2016 Research Organization for Information Science |
16 | 16 | * and Technology (RIST). All rights reserved. |
@@ -343,7 +343,8 @@ int ompi_coll_base_alltoall_intra_linear_sync(const void *sbuf, int scount, |
343 | 343 | mca_coll_base_module_t *module, |
344 | 344 | int max_outstanding_reqs) |
345 | 345 | { |
346 | | - int line, error, ri, si, rank, size, nreqs, nrreqs, nsreqs, total_reqs; |
| 346 | + int line, error, ri, si, rank, size, nrreqs, nsreqs, total_reqs; |
| 347 | + int nreqs = 0; |
347 | 348 | char *psnd, *prcv; |
348 | 349 | ptrdiff_t slb, sext, rlb, rext; |
349 | 350 |
|
@@ -565,7 +566,8 @@ int ompi_coll_base_alltoall_intra_basic_linear(const void *sbuf, int scount, |
565 | 566 | struct ompi_communicator_t *comm, |
566 | 567 | mca_coll_base_module_t *module) |
567 | 568 | { |
568 | | - int i, rank, size, err, nreqs, line; |
| 569 | + int i, rank, size, err, line; |
| 570 | + int nreqs = 0; |
569 | 571 | char *psnd, *prcv; |
570 | 572 | MPI_Aint lb, sndinc, rcvinc; |
571 | 573 | ompi_request_t **req, **sreq, **rreq; |
|
0 commit comments