From 30bda56bcef6f56823ac07f0418fd33e1eff837f Mon Sep 17 00:00:00 2001 From: William Bailey Date: Mon, 2 Dec 2019 17:32:09 -0500 Subject: [PATCH] romio: fix uninitialized variable Squash compiler warning. ROMIO is third-party software but has an annoying compiler warning; this is the minimum distance fix. Signed-off-by: William Bailey --- ompi/mca/io/romio321/romio/adio/common/onesided_aggregation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/io/romio321/romio/adio/common/onesided_aggregation.c b/ompi/mca/io/romio321/romio/adio/common/onesided_aggregation.c index 3e0ad1f8fcd..71a5b7bee6e 100644 --- a/ompi/mca/io/romio321/romio/adio/common/onesided_aggregation.c +++ b/ompi/mca/io/romio321/romio/adio/common/onesided_aggregation.c @@ -1966,7 +1966,7 @@ printf("iAmUsedAgg - currentRoundFDStart initialized " int *sourceAggBlockLengths=NULL; MPI_Aint *sourceAggDisplacements=NULL, *recvBufferDisplacements=NULL; MPI_Datatype *sourceAggDataTypes=NULL; - char *derivedTypePackedSourceBuffer; + char *derivedTypePackedSourceBuffer=NULL; int derivedTypePackedSourceBufferOffset = 0; int allocatedDerivedTypeArrays = 0; ADIO_Offset amountOfDataReadThisRoundAgg = 0;