Commit 2895d6ab authored by Rob Latham's avatar Rob Latham

clang finds a few shadowed and unused declarations

No Reviewer
parent d5ec7f4c
......@@ -388,7 +388,7 @@ void ADIOI_GPFS_WriteStridedColl(ADIO_File fd, const void *buf, int count,
*
* First verify that the filetype is contig and the offsets are
* increasing in rank order*/
int i, inOrderAndNoGaps = 1;
int inOrderAndNoGaps = 1;
for (i=0;i<(nprocs-1);i++) {
if (end_offsets[i] != (st_offsets[i+1]-1))
inOrderAndNoGaps = 0;
......
......@@ -2010,7 +2010,7 @@ printf("iAmUsedAgg - currentRoundFDStart initialized "
sourceAggDataTypes = (MPI_Datatype *)ADIOI_Malloc(maxNumContigOperations * sizeof(MPI_Datatype));
if (!bufTypeIsContig) {
int k;
for (i=sourceAggsForMyDataFirstOffLenIndex[roundIter][aggIter];i<=sourceAggsForMyDataLastOffLenIndex[roundIter][aggIter];k++)
for (k=sourceAggsForMyDataFirstOffLenIndex[roundIter][aggIter];k<=sourceAggsForMyDataLastOffLenIndex[roundIter][aggIter];k++)
amountOfDataReadThisRoundAgg += len_list[k];
#ifdef onesidedtrace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment