|
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. |
@@ -341,7 +341,8 @@ int ompi_coll_base_alltoall_intra_linear_sync(const void *sbuf, int scount, |
341 | 341 | mca_coll_base_module_t *module, |
342 | 342 | int max_outstanding_reqs) |
343 | 343 | { |
344 | | - int line, error, ri, si, rank, size, nreqs, nrreqs, nsreqs, total_reqs; |
| 344 | + int line, error, ri, si, rank, size, nrreqs, nsreqs, total_reqs; |
| 345 | + int nreqs = 0; |
345 | 346 | char *psnd, *prcv; |
346 | 347 | ptrdiff_t slb, sext, rlb, rext; |
347 | 348 |
|
@@ -561,7 +562,8 @@ int ompi_coll_base_alltoall_intra_basic_linear(const void *sbuf, int scount, |
561 | 562 | struct ompi_communicator_t *comm, |
562 | 563 | mca_coll_base_module_t *module) |
563 | 564 | { |
564 | | - int i, rank, size, err, nreqs, line; |
| 565 | + int i, rank, size, err, line; |
| 566 | + int nreqs = 0; |
565 | 567 | char *psnd, *prcv; |
566 | 568 | MPI_Aint lb, sndinc, rcvinc; |
567 | 569 | ompi_request_t **req, **sreq, **rreq; |
|
0 commit comments